Skip to content

[NETSDKE2E][Regression]Failed to run format project with "test.cmd" command. #2206

@vdanche

Description

@vdanche

Steps to Reproduce
1.install Net 9.0.100-rc.1.24421.9 SDK on window11-x64.
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

and then update the tool version to SDK version that you test
image

Add add /tlp:verbosity=q in tools.ps1(C:\xxx\xxx\format\eng\common)
image

4.Run Restore.cmd.
5.Run Build.cmd.
6.Run Test.cmd /v:d.

Expected Result:
Run successfully.
Actual Result:
Restore.cmd successfully
Build.cmd successfully
But
Test.cmd failed
image

note: we get binlog via Test.cmd /v:d /bl:out.binlog and log file has been attached.
image
outbin.zip

dotnet --info:
.NET SDK:
Version: 9.0.100-rc.1.24421.9
Commit: 1854762845
Workload version: 9.0.100-manifests.7c2e5dfe
MSBuild version: 17.12.0-preview-24421-01+c07c23be2

Runtime Environment:
OS Name: Windows
OS Version: 10.0.26244
OS Platform: Windows
RID: win-x64
Base Path: C:\Program Files\dotnet\sdk\9.0.100-rc.1.24421.9\

.NET workloads installed:
Configured to use loose manifests when installing new manifests.
There are no installed workloads to display.

Host:
Version: 9.0.0-rc.1.24420.11
Architecture: x64
Commit: static

.NET SDKs installed:
9.0.100-rc.1.24421.9 [C:\Program Files\dotnet\sdk]

.NET runtimes installed:
Microsoft.AspNetCore.App 9.0.0-rc.1.24416.6 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 9.0.0-rc.1.24420.11 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 9.0.0-rc.1.24420.2 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]

Other architectures found:
None

Environment variables:
Not set

global.json file:
Not found

Learn more:
https://aka.ms/dotnet/info

Download .NET:
https://aka.ms/dotnet/download

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions