Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

System.Runtime.CompilerServices.Unsafe.dll is missing building runtime/libs with VS2022 #62064

Closed
CarlVerret opened this issue Nov 25, 2021 · 0 comments

Comments

@CarlVerret
Copy link
Contributor

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

  1. build.cmd clr+libs -rc Release
  2. build.cmd -vs System.Text.RegularExpressions (or any other lib)
  3. 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

@dotnet-issue-labeler dotnet-issue-labeler bot added area-System.Runtime.CompilerServices untriaged New issue has not been triaged by the area owner labels Nov 25, 2021
@ghost ghost locked as resolved and limited conversation to collaborators Dec 29, 2021
@tannergooding tannergooding removed the untriaged New issue has not been triaged by the area owner label Jun 24, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants