-
Notifications
You must be signed in to change notification settings - Fork 173
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
[NETSDKE2E][Regression]Failed to run format project with "test.cmd" command. #2206
Comments
not happens on previous RC1 build. |
I think we may need to adjust the test plan for dotnet-format. Development has moved to the SDK repo. This repo has been archived and isn't being updated. The format tests can now be found at https://github.com/dotnet/sdk/tree/main/test/dotnet-format.Tests/tests |
@JoeRobich Thanks, we'll test it after adjusting the test plan for dotnet -format. |
@JoeRobich We tried to use the new format repo to test following previous steps(format/test-plan.md at main · dotnet/format (github.com)), details as below:
Seems the old steps do not apply to the new format project, if any update, please let us know. thank you. |
@vdanche I think the easiest solution would be to checkout the SDK repo, change directory to |
@JoeRobich we tried following your instruction. Same issue for 9.0.200 preview sdk |
@vdanche OK, so it seems maybe we still need to build the full SDK repo. But, only have to test the dotnet-format.UnitTests. |
@JoeRobich Today we tried again with net10.0 SDK |
@vdanche I notice you got an error when building the SDK that the /sdk/.dotnet folder was incomplete. You may need to delete your .dotnet folder and try again. |
@JoeRobich There is no .dotnet folder in /sdk directory, I delete the .dotnet folder under current user
|
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
After
and then update the tool version to SDK version that you test
Add add /tlp:verbosity=q in tools.ps1(C:\xxx\xxx\format\eng\common)
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
note: we get binlog via Test.cmd /v:d /bl:out.binlog and log file has been attached.
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
The text was updated successfully, but these errors were encountered: