Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

RadTools DLL Error during Entity generation #10073


User avatar
0
smartpeg created

Hi, during entities generation we experienced those issues. We attach an image and two logs example of many more errrors. Please help us to avoid this kind of DLL errors.

Kind Regards

We are using Angular + .NET Core 5 with Power Tools Version 2.7.6

DEBUG 2021-02-09 12:48:35,265 [1 ] dioExtension.Dialogs.EntityGeneratorForm - Generate entity started. ERROR 2021-02-09 12:48:35,737 [1 ] ToolVisualStudioExtension.Helpers.Logger - Error while copying Power Tools DLLs

Details: Il file 'C:\GIT\Livrea\aspnet-core\AspNetZeroRadTool\es\Microsoft.CodeAnalysis.VisualBasic.resources.dll' esiste già. System.IO.IOException: Il file 'C:\GIT\Livrea\aspnet-core\AspNetZeroRadTool\es\Microsoft.CodeAnalysis.VisualBasic.resources.dll' esiste già. in System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) in System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) in System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) in System.IO.Compression.ZipFileExtensions.ExtractToFile(ZipArchiveEntry source, String destinationFileName, Boolean overwrite) in System.IO.Compression.ZipFileExtensions.ExtractToDirectory(ZipArchive source, String destinationDirectoryName) in System.IO.Compression.ZipFile.ExtractToDirectory(String sourceArchiveFileName, String destinationDirectoryName, Encoding entryNameEncoding) in AspNetZeroRadToolVisualStudioExtension.RadToolFileUpdater.CopyRadToolDlls(String soltionFileDirectoryPath) in D:\ci\Jenkins\workspace\aspnet-zero-power-tools\zero-rad\AspNetZeroRadToolVisualStudioExtension\AspNetZeroRadToolVisualStudioExtension\RadToolFileUpdater.cs:riga 23 DEBUG 2021-02-09 12:49:21,018 [1 ] dioExtension.Dialogs.EntityGeneratorForm - Couldn't copy RAD Tool DLLs! DEBUG 2021-02-09 12:49:25,135 [1 ] dioExtension.Dialogs.EntityGeneratorForm - Generate entity started. ERROR 2021-02-09 12:49:25,720 [1 ] ToolVisualStudioExtension.Helpers.Logger - Error while copying Power Tools DLLs

Details: Il file 'C:\GIT\Livrea\aspnet-core\AspNetZeroRadTool\tr\Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll' esiste già. System.IO.IOException: Il file 'C:\GIT\Livrea\aspnet-core\AspNetZeroRadTool\tr\Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll' esiste già. in System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) in System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) in System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) in System.IO.Compression.ZipFileExtensions.ExtractToFile(ZipArchiveEntry source, String destinationFileName, Boolean overwrite) in System.IO.Compression.ZipFileExtensions.ExtractToDirectory(ZipArchive source, String destinationDirectoryName) in System.IO.Compression.ZipFile.ExtractToDirectory(String sourceArchiveFileName, String destinationDirectoryName, Encoding entryNameEncoding) in AspNetZeroRadToolVisualStudioExtension.RadToolFileUpdater.CopyRadToolDlls(String soltionFileDirectoryPath) in D:\ci\Jenkins\workspace\aspnet-zero-power-tools\zero-rad\AspNetZeroRadToolVisualStudioExtension\AspNetZeroRadToolVisualStudioExtension\RadToolFileUpdater.cs:riga 23 DEBUG 2021-02-09 12:50:16,785 [1 ] dioExtension.Dialogs.EntityGeneratorForm - Couldn't copy RAD Tool DLLs! DEBUG 2021-02-09 12:50:22,068 [1 ] dioExtension.Dialogs.EntityGeneratorForm - Generate entity started. ERROR 2021-02-09 12:50:22,606 [1 ] ToolVisualStudioExtension.Helpers.Logger - Error while copying Power Tools DLLs .......


3 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    This seems like a permission problem. Normally Power Tools removes some files before generating an entity. Could you check if someting blocks Power Tools form deleting those files ? Maybe your virus program or something else blocking the process.

  • User Avatar
    0
    ESTeam created

    Hi ismcagdas,

    I have a similar error that showed after I closed Visual Studio when it was slow.

    Best regards, André Silva

  • User Avatar
    0
    jasenfici created

    I am also getting this error and am running VS as an administrator. There shouldn't be any permission problems as far as I can tell.

    The log file shows:

    `ERROR 2022-07-26 10:55:26,158 [1 ] ToolVisualStudioExtension.Helpers.Logger - Error while copying Power Tools DLLs

    Details: The file 'C:\src\subscrio\AspNetZeroRadTool\cs\Microsoft.CodeAnalysis.CSharp.resources.dll' already exists. System.IO.IOException: The file 'C:\src\app\AspNetZeroRadTool\cs\Microsoft.CodeAnalysis.CSharp.resources.dll' already exists. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) at System.IO.Compression.ZipFileExtensions.ExtractToFile(ZipArchiveEntry source, String destinationFileName, Boolean overwrite) at System.IO.Compression.ZipFileExtensions.ExtractToDirectory(ZipArchive source, String destinationDirectoryName) at System.IO.Compression.ZipFile.ExtractToDirectory(String sourceArchiveFileName, String destinationDirectoryName, Encoding entryNameEncoding) at AspNetZeroRadToolVisualStudioExtension.RadToolFileUpdater.CopyRadToolDlls(String soltionFileDirectoryPath) in D:\GitHub\aspnet-zero-rad\AspNetZeroRadToolVisualStudioExtension\AspNetZeroRadToolVisualStudioExtension\RadToolFileUpdater.cs:line 31 DEBUG 2022-07-26 10:57:59,554 [1 ] dioExtension.Dialogs.EntityGeneratorForm - Couldn't copy RAD Tool DLLs!`