You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
we will meet this error when we install workload by command line on MacOS and Linux OS
To Reproduce
Run the command via terminal sudo dotnet workload install wasm-experimental
Note
This issue also reproduces when we install wasm-tools via cmd sudo dotnet workload install wasm-tools
This issue also reproduces when we install maui via cmd sudo dotnet workload install maui
This issue also reproduces on MacOS and Linux OS
This issue doesn't reproduce on Windows
Exceptions (if any)
System.ArgumentNullException: Value cannot be null. (Parameter 'paths')
at System.ArgumentNullException.Throw(String paramName)
at System.IO.Path.Combine(ReadOnlySpan`1 paths)
at Microsoft.DotNet.Cli.SudoEnvironmentDirectoryOverride.OverrideEnvironmentVariableToTmp(ParseResult parseResult)
at Microsoft.DotNet.Cli.Program.ProcessArgs(String[] args, TimeSpan startupTime, ITelemetry telemetryClient)
at Microsoft.DotNet.Cli.Program.Main(String[] args)
Further technical details
Include the output of dotnet --info
The IDE (VS / VS Code/ VS4Mac) you're running on, and its version
.NET SDK:
Version: 10.0.100-preview.2.25126.21
Commit: f4f293c695
Workload version: 10.0.100-manifests.849cb335
MSBuild version: 17.14.0-preview-25126-06+e18e7f0af
Runtime Environment:
OS Name: Mac OS X
OS Version: 15.3
OS Platform: Darwin
RID: osx-arm64
Base Path: /usr/local/share/dotnet/sdk/10.0.100-preview.2.25126.21/
.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.25125.14
Architecture: arm64
Commit: 143f7e2ca0
.NET SDKs installed:
10.0.100-preview.2.25126.21 [/usr/local/share/dotnet/sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 10.0.0-preview.2.25126.5 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 10.0.0-preview.2.25125.14 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Other architectures found:
x64 [/usr/local/share/dotnet/x64]
registered at [/etc/dotnet/install_location_x64]
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:
Describe the bug
we will meet this error when we install workload by command line on MacOS and Linux OS
To Reproduce
sudo dotnet workload install wasm-experimental
Note
sudo dotnet workload install wasm-tools
sudo dotnet workload install maui
Exceptions (if any)
Further technical details
dotnet --info
The text was updated successfully, but these errors were encountered: