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
Required references did not load #854
Comments
@felschr Sorry you are running into this. I haven't encountered this issue myself. Can you share a project with us that repros this behavior? |
Unfortunately none of the projects are open source. |
Closing this issue as we've seen no reply to the request for more information. If you are able to get the requested information, please add it to the issue and we will retriage it. |
I am facing this issue after upgrading from .netcoreapp3.1 to net6.0 TFM (SDK 6.0.401) (dotnet format also changed its API... so the previous CLI command does not work so one has to adapt to the breaking change) I ran dotnet restore multiple times even with -f flag.
Any ideas anyone... I get the same issue when I target my referenced libraries to TFM net6.0 My repo root global.json targets 3.1.416, but the one on the project targets 6.0.401, I run dotnet format from repo root. I am trying to gradually upgrade projects but this is hard to pass... In the target csproj I added the nugets the internet advises... but no help: <PackageReference Include="Microsoft.CodeAnalysis" Version="4.3.1" />
<PackageReference Include="Microsoft.CodeAnalysis.Compilers" Version="4.3.1" />
<PackageReference Include="Microsoft.Net.Compilers.Toolset" Version="4.3.1">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference> |
I get a lot of errors like these:
Running
dotnet restore
doesn't help, though. This happens for a lot of the projects in my solution, not all of them, though.I'm running v5.0.152601 on Linux (NixOS).
The text was updated successfully, but these errors were encountered: