Problems To Start a Project BouncyCastle.Crypto-dll is denied

I Hope you have a nice day

I try to migrate a project to another PC, but at the moment chargue the project and download dependences, crash with error

19.2.0+Branch.master.Sha.21b678a4c3a8b1362fcdd6e92496f991e5a7da37

The project 'C:\Users\B00483\Documents\UiPath\Tesoreria1\project.json' could not be opened: Access to the path 'C:\Users\B00483\.nuget\packages\uipath.vision\1.4.0\build\BouncyCastle.Crypto.dll' is denied..

Cannot open item: UiPath.Studio.Contracts.RecoverableException: The project 'C:\Users\B00483\Documents\UiPath\Tesoreria1\project.json' could not be opened: Access to the path 'C:\Users\B00483\.nuget\packages\uipath.vision\1.4.0\build\BouncyCastle.Crypto.dll' is denied.. ---> System.UnauthorizedAccessException: Access to the path 'C:\Users\B00483\.nuget\packages\uipath.vision\1.4.0\build\BouncyCastle.Crypto.dll' is denied.
   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, Int32 bufferSize)
   at System.IO.File.OpenFile(String path, FileAccess access, SafeFileHandle& handle)
   at System.IO.File.SetLastWriteTimeUtc(String path, DateTime lastWriteTimeUtc)
   at NuGet.Packaging.ZipArchiveExtensions.UpdateFileTimeFromEntry(ZipArchiveEntry entry, String fileFullPath, ILogger logger)
   at NuGet.Packaging.PackageArchiveReader.CopyFiles(String destination, IEnumerable`1 packageFiles, ExtractPackageFileDelegate extractFile, ILogger logger, CancellationToken token)
   at NuGet.Packaging.PackageReaderBase.CopyFilesAsync(String destination, IEnumerable`1 packageFiles, ExtractPackageFileDelegate extractFile, ILogger logger, CancellationToken cancellationToken)
   at NuGet.Packaging.PackageExtractor.<>c__DisplayClass5_2.<<InstallFromSourceAsync>b__0>d.MoveNext()

Please Help

Sorry for my english my native language are mexican spanish

Hi @Jose_Vega_Dimayuga

I think your issue lies in the fact that some files are locked (potentially by antivirus software). Please check this location:

1 Like

thanks, it was antivirus software nice day :grinning:

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.