-
Notifications
You must be signed in to change notification settings - Fork 25.1k
Closed
Labels
Description
The test failure is linux specific and is likely tooling related. I use preview 2 and it fails with the following error:
Diagnostic messages found in workspace.OpenProjectAsync - /tmp/fj5lf5d1.mnu/Project/MyAssembly.csproj:
Failure - Msbuild failed when processing the file '/tmp/fj5lf5d1.mnu/Project/MyAssembly.csproj' with message: The expression "[MSBuild]::GetTargetFrameworkIdentifier(net5.0)" cannot be evaluated. MSB0001: Internal MSBuild Error: A required NuGet assembly was not found. Expected Path: /home/eirik/devel/dotnet/runtime/.dotnet/sdk/6.0.100-preview.2.21155.3 /home/eirik/devel/dotnet/runtime/.dotnet/sdk/6.0.100-preview.2.21155.3/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.TargetFrameworkInference.targets
However reverting the projects to net5.0 makes the issue go away.
Originally posted by @eiriktsarpalis in dotnet/api-docs-sync#72 (comment)