Skip to content

Fhj #36084

@senmedine630-glitch

Description

@senmedine630-glitch

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)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions