Reproduce:
Clone corefx repo into a folder, eg d:\DATA\MY GitHub\corefx
Build FAILED Error MSB3073: when it attempts to build src\System.Runtime.CompilerServices.Unsafe\src\System.Runtime.CompilerServices.Unsafe.ilproj
C:\Users\PaulFarrand\.nuget\packages\microsoft.net.sdk.il\5.0.0-alpha1.19373.2\targets\Microsoft.NET.Sdk.IL.targets(101,5): error MSB3073: The command "D:\DATA\My GitHub\corefx\artifacts\toolset\ilasm\ildasm "D:\DATA\My GitHub\corefx\artifacts\bin\ref\netcoreapp\System.Runtime.CompilerServices.Unsafe.dll" /OUT="D:\DATA\My GitHub\corefx\artifacts\obj\System.Runtime.CompilerServices.Unsafe\netcoreapp-Debug\/System.Runtime.CompilerServices.Unsafe.ref.il"" exited with code 9009. [D:\DATA\My GitHub\corefx\src\System.Runtime.CompilerServices.Unsafe\src\System.Runtime.CompilerServices.Unsafe.ilproj]
WorkAround
Rename folder to D:\DATA\MyGitHub
Builds sucessfully
Ive spent about 2 days trying to locate the what I believe is a miss formatted \OUT="...." path
That contains a forward 'slash' at Debug\/System.Runtime
/OUT="D:\DATA\My GitHub\corefx\artifacts\obj\System.Runtime.CompilerServices.Unsafe\netcoreapp-Debug\/System.Runtime.CompilerServices.Unsafe.ref.il"
Ive not been able to find it in the build scripts, anyone with better knowledge able to give clues?
Just found this that seems similair in coreclr
dotnet/coreclr#21819
Reproduce:
Clone corefx repo into a folder, eg d:\DATA\MY GitHub\corefx
Build FAILED Error MSB3073: when it attempts to build src\System.Runtime.CompilerServices.Unsafe\src\System.Runtime.CompilerServices.Unsafe.ilproj
C:\Users\PaulFarrand\.nuget\packages\microsoft.net.sdk.il\5.0.0-alpha1.19373.2\targets\Microsoft.NET.Sdk.IL.targets(101,5): error MSB3073: The command "D:\DATA\My GitHub\corefx\artifacts\toolset\ilasm\ildasm "D:\DATA\My GitHub\corefx\artifacts\bin\ref\netcoreapp\System.Runtime.CompilerServices.Unsafe.dll" /OUT="D:\DATA\My GitHub\corefx\artifacts\obj\System.Runtime.CompilerServices.Unsafe\netcoreapp-Debug\/System.Runtime.CompilerServices.Unsafe.ref.il"" exited with code 9009. [D:\DATA\My GitHub\corefx\src\System.Runtime.CompilerServices.Unsafe\src\System.Runtime.CompilerServices.Unsafe.ilproj]WorkAround
Rename folder to D:\DATA\MyGitHub
Builds sucessfully
Ive spent about 2 days trying to locate the what I believe is a miss formatted \OUT="...." path
That contains a forward 'slash' at Debug\/System.Runtime
/OUT="D:\DATA\My GitHub\corefx\artifacts\obj\System.Runtime.CompilerServices.Unsafe\netcoreapp-Debug\/System.Runtime.CompilerServices.Unsafe.ref.il"Ive not been able to find it in the build scripts, anyone with better knowledge able to give clues?
Just found this that seems similair in coreclr
dotnet/coreclr#21819