Skip to content

[NETSDKE2E]With net8 rc1 sdk installed, Test .NET format project failed with error : Tests failed: C:\Users\v-danche\format\artifacts\TestResults\Debug\dotnet-format.UnitTests_net8.0_x64. html [net8.0|x64] [C:\Users\v-danche\format\tests\dotnet-format.UnitTests.csproj] #1934

@vdanche

Description

@vdanche

1.Install NET8 RC1 SDK(8.0.100-rc.1.23417.18(runtime- 8.0.0-rc.1.23414.4)) from https://aka.ms/dotnet/8.0.1xx-rc1/daily/dotnet-sdk-win-x64.exe,
2. Checkout the dotnet-format repo. git clone https://github.com/dotnet/format.git
3. Update the gobal.json by removing the "sdk" configuration
before
image

After:
image
4.Run Restore.cmd.
5.Run Build.cmd.
6.Run Test.cmd.

Expected Result:
Restore build and test project successfully.

Actual Result:
Restore build successfully, but test project failed with below error
image

dotnet--info:
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions