Skip to content

Commit

Permalink
Some other OS updates
Browse files Browse the repository at this point in the history
  • Loading branch information
adegeo committed Nov 20, 2024
1 parent 1c9ae52 commit 81092e4
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 31 deletions.
41 changes: 14 additions & 27 deletions docs/core/install/macos.md
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,20 @@ For more information about how enforced-notarization affects .NET (and your .NET
[!INCLUDE [verify-download-macos-linux](includes/verify-download-macos-linux.md)]
## Arm-based Macs
The following sections describe things you should consider when installing .NET on an Arm-based Mac.
<!-- This section is mirrored in the windows.md file. Changes here should be applied there -->
### Path differences
On an Arm-based Mac, all Arm64 versions of .NET are installed to the normal _/usr/local/share/dotnet/_ folder. However, when you install the **x64** version of .NET SDK, it's installed to the _/usr/local/share/dotnet/x64/dotnet/_ folder.

### Path variables

Environment variables that add .NET to system path, such as the `PATH` variable, might need to be changed if you have both the x64 and Arm64 versions of the .NET SDK installed. Additionally, some tools rely on the `DOTNET_ROOT` environment variable, which would also need to be updated to point to the appropriate .NET SDK installation folder.

## Troubleshooting

The following sections are available to help troubleshoot issues:
Expand Down Expand Up @@ -283,33 +297,6 @@ Set the following two environment variables in your shell profile:
export PATH=$PATH:$DOTNET_ROOT:$DOTNET_ROOT/tools
```

### Arm-based Macs
The following sections describe things you should consider when installing .NET on an Arm-based Mac.
<!-- This section is mirrored in the windows.md file. Changes here should be applied there -->
#### .NET Versions
The following table describes which versions of .NET are supported on an Arm-based Mac:
| .NET Version | SDK | Runtime |
|--------------|-----|---------|
| 8 | Yes | Yes |
| 8 | Yes | Yes |
| 6 | Yes | Yes |
| 6 | Yes | Yes |
The x64 and Arm64 versions of the .NET SDK exist independently from each other. If a new version is released, each install needs to be upgraded.
#### Path differences
On an Arm-based Mac, all Arm64 versions of .NET are installed to the normal _/usr/local/share/dotnet/_ folder. However, when you install the **x64** version of .NET SDK, it's installed to the _/usr/local/share/dotnet/x64/dotnet/_ folder.

#### Path variables

Environment variables that add .NET to system path, such as the `PATH` variable, might need to be changed if you have both the x64 and Arm64 versions of the .NET SDK installed. Additionally, some tools rely on the `DOTNET_ROOT` environment variable, which would also need to be updated to point to the appropriate .NET SDK installation folder.

### System.Drawing.Common and libgdiplus

.NET applications that use the `System.Drawing.Common` assembly require `libgdiplus` to be installed.
Expand Down
4 changes: 0 additions & 4 deletions docs/core/install/windows.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,10 +116,6 @@ The previous requirements are also required if you receive an error related to e

.NET is supported on Arm-based Windows PCs. The following sections describe things you should consider when installing .NET.

### SDK differences

The x86, x64, and Arm64 versions of the .NET SDK exist independently from each other. If a new version is released, each architecture install needs to be upgraded.

### Path differences

On an Arm-based Windows PC, all Arm64 versions of .NET are installed to the normal _C:\\Program Files\\dotnet\\_ folder. However, the **x64** version of the .NET SDK is installed to the _C:\\Program Files\\dotnet\\x64\\_ folder.
Expand Down

0 comments on commit 81092e4

Please sign in to comment.