-
Couldn't load subscription status.
- Fork 1.2k
Description
REGRESSION INFO
Worked well on .NET 10.0.100-rc.1.25409.103
Worked well on .NET 10 Preview 7
REPRO STEPS
- Clean machine: Mac or Linux distributions
- Extract the NET 10.0.100-rc.1.25409.103 binary to a custom directory. eg.
tar -zxf ../dotnet-sdk-10.0.100-rc.1.25416.112-linux-x64.tar.gz -C ~/mytest - Create a xunit project using dotnet from the binary. eg.
~/mytest/dotnet new xunit - Running test using using dotnet from the binary. eg.
~/mytest/dotnet test - Observe
Expected Behavior
Testing works fine.
Actual Behavior
xunit project tested failed with error MSB6006
Screens on Ubuntu 24.04

Screens on Mac
Note
- This issue only reproduced with xunit project. It is not reproduced with mstest or nunit project
- This issue is not reproduced with zip installer on Windows
- This issue is not reproduced after setting DOTNET_ROOT
donet --info
nicole@Ubuntu2404:~$ ~/mytest/dotnet --info
.NET SDK:
Version: 10.0.100-rc.1.25416.112
Commit: 8c49b05924
Workload version: 10.0.100-manifests.f436f675
MSBuild version: 17.15.0-preview-25416-112+8c49b0592
Runtime Environment:
OS Name: ubuntu
OS Version: 24.04
OS Platform: Linux
RID: linux-x64
Base Path: /home/nicole/mytest/sdk/10.0.100-rc.1.25416.112/
.NET workloads installed:
There are no installed workloads to display.
Configured to use workload sets when installing new manifests.
No workload sets are installed. Run "dotnet workload restore" to install a workload set.
Host:
Version: 10.0.0-rc.1.25416.112
Architecture: x64
Commit: 8c49b05924
.NET SDKs installed:
10.0.100-rc.1.25416.112 [/home/nicole/mytest/sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 10.0.0-rc.1.25416.112 [/home/nicole/mytest/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 10.0.0-rc.1.25416.112 [/home/nicole/mytest/shared/Microsoft.NETCore.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