Description
I'm having a issue building libraries / tests after builing runtime as specified in the contribution workflow doc :
build.cmd clr+libs -rc Release
Got an error message complaining about
\System.Runtime.CompilerServices.Unsafe\ref\net462-Debug\System.Runtime.CompilerServices.Unsafe.dll'
could not be found System.Text.RegularExpressions.Tests (net7.0)
Does the same for every lib project I try to compile.
Reproduction Steps
- build.cmd clr+libs -rc Release
- build.cmd -vs System.Text.RegularExpressions (or any other lib)
- build test project with VS
Expected behavior
No error message when building test project
Actual behavior
Error, build fails complaining about net462-Debug\System.Runtime.CompilerServices.Unsafe.dll
Regression?
No response
Known Workarounds
Compiling with pushd ..\src & dotnet build & popd & dotnet build /t:test works.
Starts to work if I remove $(NetFrameworkMinimum) in $(NetCoreAppMinimum);
Configuration
Windows 10
VS2022 x64
Other information
No response