Description
After building dotnet with ./build.sh -subset clr+libs -configuration Release -runtimeConfiguration Debug and then trying to run dotnet build with the compiled binary in the fuzzers directory, I am hit with the following error:
~/runtime/src/libraries/Fuzzing/DotnetFuzzing$ dotnet build
Determining projects to restore...
Restored /home/oof/runtime/src/libraries/System.Reflection.Metadata/src/System.Reflection.Metadata.csproj (in 390 ms).
Restored /home/oof/runtime/src/tools/illink/src/ILLink.Tasks/ILLink.Tasks.csproj (in 377 ms).
Restored /home/oof/runtime/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Microsoft.Interop.SourceGeneration.csproj (in 379 ms).
Restored /home/oof/runtime/src/libraries/System.Collections.Immutable/src/System.Collections.Immutable.csproj (in 390 ms).
Restored /home/oof/runtime/src/libraries/System.Formats.Nrbf/src/System.Formats.Nrbf.csproj (in 389 ms).
Restored /home/oof/runtime/src/libraries/System.Collections.Immutable/ref/System.Collections.Immutable.csproj (in 377 ms).
Restored /home/oof/runtime/src/tools/illink/src/linker/Mono.Linker.csproj (in 377 ms).
Restored /home/oof/runtime/src/libraries/System.Reflection.Metadata/ref/System.Reflection.Metadata.csproj (in 377 ms).
Restored /home/oof/runtime/src/libraries/System.Runtime.InteropServices/gen/ComInterfaceGenerator/ComInterfaceGenerator.csproj (in 379 ms).
Restored /home/oof/runtime/src/tools/illink/src/linker/ref/Mono.Linker.csproj (in 377 ms).
Restored /home/oof/runtime/src/libraries/System.Collections/ref/System.Collections.csproj (in 377 ms).
Restored /home/oof/runtime/src/libraries/System.Runtime.InteropServices/gen/LibraryImportGenerator/LibraryImportGenerator.csproj (in 379 ms).
Restored /home/oof/runtime/src/libraries/System.Runtime/ref/System.Runtime.csproj (in 3 ms).
Restored /home/oof/runtime/src/tools/illink/src/ILLink.CodeFix/ILLink.CodeFixProvider.csproj (in 8 ms).
Restored /home/oof/runtime/src/tools/illink/src/ILLink.RoslynAnalyzer/ILLink.RoslynAnalyzer.csproj (in 10 ms).
Restored /home/oof/runtime/src/libraries/System.Formats.Nrbf/ref/System.Formats.Nrbf.csproj (in 24 ms).
Restored /home/oof/runtime/src/libraries/Fuzzing/DotnetFuzzing/DotnetFuzzing.csproj (in 25 ms).
Restored /home/oof/runtime/src/libraries/System.Runtime.InteropServices/gen/DownlevelLibraryImportGenerator/DownlevelLibraryImportGenerator.csproj (in 8 ms).
/home/oof/runtime/.dotnet/sdk/10.0.100-preview.3.25125.5/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(515,5): error NETSDK1112: The runtime pack for Microsoft.NETCore.App.Runtime.win-x64 was not downloaded. Try running a NuGet restore with the RuntimeIdentifier 'win-x64'. [/home/oof/runtime/src/libraries/Fuzzing/DotnetFuzzing/DotnetFuzzing.csproj]
Build FAILED.
/home/oof/runtime/.dotnet/sdk/10.0.100-preview.3.25125.5/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(515,5): error NETSDK1112: The runtime pack for Microsoft.NETCore.App.Runtime.win-x64 was not downloaded. Try running a NuGet restore with the RuntimeIdentifier 'win-x64'. [/home/oof/runtime/src/libraries/Fuzzing/DotnetFuzzing/DotnetFuzzing.csproj]
0 Warning(s)
1 Error(s)
Time Elapsed 00:00:03.22
The runtime isn't finding the sdk for some reason.
Reproduction Steps
Repro explained in previous step
Expected behavior
Should compile fuzzers succesfully
Actual behavior
Doesn't compile succesfully. Exits with error.
Regression?
No response
Known Workarounds
No response
Configuration
No response
Other information
No response
Description
After building dotnet with
./build.sh -subset clr+libs -configuration Release -runtimeConfiguration Debugand then trying to rundotnet buildwith the compiled binary in the fuzzers directory, I am hit with the following error:The runtime isn't finding the sdk for some reason.
Reproduction Steps
Repro explained in previous step
Expected behavior
Should compile fuzzers succesfully
Actual behavior
Doesn't compile succesfully. Exits with error.
Regression?
No response
Known Workarounds
No response
Configuration
No response
Other information
No response