Skip to content
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]With .NET 10.0.0-preview.2.25121.10, Running 'dotnet restore' failed with error MSB1025 #47089

Open
ChenhuiYuan01 opened this issue Feb 25, 2025 · 5 comments
Labels
Area-Infrastructure untriaged Request triage from a team member

Comments

@ChenhuiYuan01
Copy link
Member

ChenhuiYuan01 commented Feb 25, 2025

Repro steps:

  1. Prepare Windows/Mac/Linux machine
  2. Install SDK 10.0.100-preview.2.25124.17(runtime-10.0.0-preview.2.25121.10)
  3. Run dotnet restore

Expected:
The command ran successfully

Actual result:
Command failed
Image

Note
This issue does not repro on 10.0.100-preview.2.25124.12(runtime-10.0.0-preview.2.25121.10)
Image

Dotnet --info
.NET SDK:
Version: 10.0.100-preview.2.25124.17
Commit: ce0a5f6
Workload version: 10.0.100-manifests.2280ad1c
MSBuild version: 17.14.0-preview-25124-03+63aefc3dc

Runtime Environment:
OS Name: ubuntu
OS Version: 24.10
OS Platform: Linux
RID: linux-arm64
Base Path: /root/mytest/sdk/10.0.100-preview.2.25124.17/

.NET workloads installed:
There are no installed workloads to display.
Configured to use workload sets when installing new manifests.
Workloads are configured to install and update using workload versions, but none were found. Run "dotnet workload restore" to install a workload version.

Host:
Version: 10.0.0-preview.2.25121.10
Architecture: arm64
Commit: 8ed081e7dd

.NET SDKs installed:
10.0.100-preview.2.25124.17 [/root/mytest/sdk]

.NET runtimes installed:
Microsoft.AspNetCore.App 10.0.0-preview.2.25121.1 [/root/mytest/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 10.0.0-preview.2.25121.10 [/root/mytest/shared/Microsoft.NETCore.App]

Other architectures found:
None

Environment variables:
DOTNET_ROOT [/root/mytest]

global.json file:
Not found

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

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

@dotnet-issue-labeler dotnet-issue-labeler bot added Area-Workloads untriaged Request triage from a team member labels Feb 25, 2025
@ChenhuiYuan01 ChenhuiYuan01 changed the title [NETSDKE2E] [Mac][Linux][Windows]With .NET 10 preview 2 SDK installed, some dotnet commands fail to run. [NETSDKE2E]With .NET 10 preview 2 SDK installed, some dotnet commands fail to run. Feb 25, 2025
@ChenhuiYuan01 ChenhuiYuan01 changed the title [NETSDKE2E]With .NET 10 preview 2 SDK installed, some dotnet commands fail to run. [NETSDKE2E]With .NET 10.0.0-preview.2.25121.10, Running 'dotnet restore' failed with error MSB1025 Feb 25, 2025
@ChenhuiYuan01
Copy link
Member Author

This issue also repro's on SDK 10.0.100-preview.2.25124.19(runtime-10.0.0-preview.2.25121.10)
Image

@v-ainigao
Copy link

This issue also repro's on arm64OS. -->version .net10.0.100-preview.2.25125.14SDK
Image

@YingyingYuan9
Copy link
Member

This issue also repro's on MAC. -->version .net10.0.100-preview.2.25125.14SDK

Image

@Zheng-Li01
Copy link
Member

This issue also can reproduce with .NET 10.0 Preview2 Test pass build 10.0.0-preview.2.25126.2, please priority this issue.

@baronfel
Copy link
Member

We need this flow to fix this error. I think you might be able to workaround it by disabling terminal logger (-tl:off) though.

cc @marcpopMSFT @joeloff

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Infrastructure untriaged Request triage from a team member
Projects
None yet
Development

No branches or pull requests

5 participants