Skip to content

Conversation

@stan-sz
Copy link
Contributor

@stan-sz stan-sz commented Oct 14, 2024

The "Robocopy" task could not be instantiated from "C:\.nuget\packages\microsoft.build.artifacts\6.1.30\build\netstandard2.0\Microsoft.Build.Artifacts.dll".  System.TypeInitializationException: The type initializer for 'Microsoft.Build.Artifacts.FileSystem' threw an exception. ---> System.ComponentModel.Win32Exception: Failed retrieving volume information for A:\ with winerror 55
   at Microsoft.CopyOnWrite.Windows.NativeMethods.ThrowSpecificIoException(Int32 lastErr, String message) in D:\CoW\lib\Windows\NativeMethods.cs:line 30
   at Microsoft.CopyOnWrite.Windows.VolumeInfoCache.GetVolumeInfo(VolumePaths volumePaths) in D:\CoW\lib\Windows\VolumeInfoCache.cs:line 161
   at Microsoft.CopyOnWrite.Windows.VolumeInfoCache.BuildFromCurrentFilesystem() in D:\CoW\lib\Windows\VolumeInfoCache.cs:line 36
   at Microsoft.CopyOnWrite.CopyOnWriteFilesystemFactory.Create() in D:\CoW\lib\CopyOnWriteFilesystemFactory.cs:line 48
   at System.Lazy`1.CreateValue()
   at System.Lazy`1.LazyInitValue()
   at Microsoft.Build.Artifacts.FileSystem..cctor()
   --- End of inner exception stack trace ---
   at Microsoft.Build.Artifacts.Tasks.Robocopy..ctor()

The "Robocopy" task could not be instantiated from "C:\.nuget\packages\microsoft.build.artifacts\6.1.30\build\netstandard2.0\Microsoft.Build.Artifacts.dll". 
System.TypeInitializationException: The type initializer for 'Microsoft.Build.Artifacts.FileSystem' threw an exception. ---> System.ComponentModel.Win32Exception: Failed retrieving volume information for A:\ with winerror 55
   at Microsoft.CopyOnWrite.Windows.NativeMethods.ThrowSpecificIoException(Int32 lastErr, String message) in D:\CoW\lib\Windows\NativeMethods.cs:line 30
   at Microsoft.CopyOnWrite.Windows.VolumeInfoCache.GetVolumeInfo(VolumePaths volumePaths) in D:\CoW\lib\Windows\VolumeInfoCache.cs:line 161
   at Microsoft.CopyOnWrite.Windows.VolumeInfoCache.BuildFromCurrentFilesystem() in D:\CoW\lib\Windows\VolumeInfoCache.cs:line 36
   at Microsoft.CopyOnWrite.CopyOnWriteFilesystemFactory.Create() in D:\CoW\lib\CopyOnWriteFilesystemFactory.cs:line 48
   at System.Lazy`1.CreateValue()
   at System.Lazy`1.LazyInitValue()
   at Microsoft.Build.Artifacts.FileSystem..cctor()
   --- End of inner exception stack trace ---
   at Microsoft.Build.Artifacts.Tasks.Robocopy..ctor()
@stan-sz stan-sz marked this pull request as ready for review October 14, 2024 13:55
@erikmav erikmav merged commit d672703 into microsoft:main Oct 14, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants