-
Notifications
You must be signed in to change notification settings - Fork 5k
Artifacts for .NET 9.0 Preview 1 Release #9160
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
Merged
Changes from 9 commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
7a408d8
Artifacts for .NET 9.0 Preview 1 Release
rbhanda 53ced12
Apply suggestions from code review
jamesmontemagno 85501aa
Update README.md
jamesmontemagno 059bd4b
Update README.md
jamesmontemagno ecaec40
Update README.md
rbhanda e4654ea
Update releases.md
rbhanda 5713bcf
Update README.md
rbhanda e9aa4b0
Update README.md
rbhanda 3bfd204
Apply suggestions from code review
jamesmontemagno e7152ed
Delete release-notes/9.0/preview/9.0.0-preview.1.md
rbhanda 727d0af
Update 9.0.0-preview.1.md
rbhanda 909ecaa
Apply suggestions from code review
jamesmontemagno 781703c
Apply suggestions from code review
jamesmontemagno 863c377
Apply suggestions from code review
jamesmontemagno 8339c4d
Add images
richlander 96bcc12
Update release-notes/9.0/preview/preview1/9.0.0-preview.1.md
rbhanda File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,17 @@ | ||
| # .NET 9 | ||
|
|
||
| .NET 9 is a [Standard Term Support (STS)](../../release-policies.md) release. | ||
| [.NET 9](https://devblogs.microsoft.com/dotnet/announcing-dotnet-9/) is a [Standard Term Support (STS)](../../release-policies.md) release and will be supported for 18 months, from November 12th, 2024 to May 13th, 2026. It is [supported](../../support.md) on [multiple operating systems](supported-os.md). | ||
|
|
||
| - [Downloads](https://dotnet.microsoft.com/download/dotnet/9.0) | ||
| - [Linux Package Managers](https://learn.microsoft.com/dotnet/core/install/linux) | ||
| - [Containers](https://mcr.microsoft.com/catalog?search=dotnet/) | ||
| - [Supported OSes](supported-os.md) | ||
| - [Known Issues](known-issues.md) | ||
| - [Installation instructions](install.md) | ||
|
|
||
| ## Releases | ||
|
|
||
| | Date | Release | | ||
| | :-- | :-- | | ||
| | 2023/02/13 | [9.0.0 Preview 1](preview/preview1/README.md) | | ||
|
|
||
| More information coming soon. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
|
|
||
| # Get Started | ||
|
|
||
| To get started with .NET 9, [install the .NET 9 SDK](https://dotnet.microsoft.com/download/dotnet/9.0). | ||
|
|
||
| If you're on Windows using Visual Studio, we recommend installing the latest [Visual Studio 2022 preview](https://visualstudio.com/preview), or get started with Visual Studio Code and the [C# Dev Kit](https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.csdevkit) extension. | ||
|
|
||
|
|
||
| ## .NET MAUI | ||
|
|
||
| Install the [.NET MAUI workload](install-workloads.md#net-maui) | ||
|
|
||
|
|
||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,64 @@ | ||
| # .NET 9 installation instructions for Linux | ||
|
|
||
| The following instructions demonstrate installing .NET 9 on Linux. These instructions augment the more general [.NET install instructions](install.md), including installing with `.tar.gz` files, that work on multiple operating systems. | ||
|
|
||
| [Linux package dependencies](linux-packages.md) describes the set of packages required to run .NET on Linux. | ||
|
|
||
| ## Distributions | ||
|
|
||
| The following distributions are available for Linux: | ||
|
|
||
| - .NET SDK: includes tools for building and testing applications, and includes the runtime distributions that follow. | ||
| - .NET Runtime: includes the .NET runtime and libraries, enabling running console applications. | ||
| - ASP.NET Core Runtime: includes the .NET and ASP.NET Core runtimes, enabling running console, and web applications. | ||
|
|
||
| We recommend you install the .NET SDK to develop and build applications, and to install one of the runtime packages (like ASP.NET Core) to exclusively run applications. | ||
|
|
||
| ## Downloads | ||
|
|
||
| Each of the distributions can be downloaded from: | ||
|
|
||
| - [Microsoft .NET website](https://dotnet.microsoft.com/download/dotnet/9.0) | ||
| - [.NET 9 release notes](README.md) | ||
|
|
||
| [Container images](https://hub.docker.com/r/microsoft/dotnet/) are provided for Linux (Alpine, Debian, and Ubuntu). | ||
|
|
||
| ## Install using deb/rpm packages | ||
|
|
||
| Preview release installers are not available from the Microsoft package repositories. The steps below provide an easy way to install .NET 9 using your Distro package manager. | ||
|
|
||
| **Note:** `curl` must be available on the system before running the following steps. Once you have confirmed that `curl` is available, complete the steps to download and install the latest .NET 9 Preview SDK and Runtime. | ||
|
|
||
| 1. Create a directory to use for the download location and change into that directory. For example, `mkdir $HOME/dotnet_install && cd $HOME/dotnet_install` | ||
| 2. Run `curl -L https://aka.ms/install-dotnet-preview -o install-dotnet-preview.sh` | ||
| 3. Run the script with `sudo bash install-dotnet-preview.sh` | ||
|
|
||
| Here's what the script does. | ||
|
|
||
| - Detects the distribution and version. The script supports platforms and versions listed in [.NET 9.0 - Supported OS versions](https://github.com/dotnet/core/blob/main/release-notes/9.0/supported-os.md). | ||
| - Determines if additional system dependencies or utilities are needed to successfully complete and install them. For example, `tar` is used to unpack the installer packages. | ||
| - Downloads the tar.gz containing the .NET preview installer packages for the detected distribution. | ||
| - Downloads the system dependency installer, if needed. | ||
| - Expands the tar.gz into ./dotnet_packages | ||
| - Attempts to install the contents of ./dotnet_packages using `rpm` or `dpkg`, as appropriate, for the detected distribution. | ||
|
|
||
| ## Installing from a binary archive | ||
|
|
||
| You can install .NET with a binary archive. This option is required if you want to install .NET for a single user. It is also recommended if you want to install .NET temporarily. | ||
|
|
||
| The following workflow demonstrates downloading, unpacking, configuring, and running the .NET SDK from the command line. You may choose to do some of these tasks via the browser and functionality provided by your operating system. | ||
|
|
||
| ```bash | ||
| ~# curl -Lo dotnet.tar.gz https://download.visualstudio.microsoft.com/download/pr/f51b05d4-bc43-4290-9b33-aaa212edbba6/e10559d91242409faf5c37cb529de8f3/dotnet-sdk-9.0.100-preview.1.24101.2-linux-x64.tar.gz | ||
| ~# mkdir dotnet | ||
| ~# tar -C dotnet -xf dotnet.tar.gz | ||
| ~# rm dotnet.tar.gz | ||
| ~# export DOTNET_ROOT=~/dotnet | ||
| ~# export PATH=$PATH:~/dotnet | ||
| ~# dotnet --version | ||
| 9.0.100-preview.1.24101.2 | ||
| ``` | ||
|
|
||
| The `DOTNET_ROOT` environment variable is required to launch an application with their executables (like `myapp.exe`). The executables look for this environment variable to find the runtime if it isn't installed in its regular location. The `PATH` environment variable must be updated if you want to use `dotnet` without absolute paths to its location. Setting both of these environment variables is optional. | ||
|
|
||
| You can add your .NET install location permanently to your path if you'd like. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,49 @@ | ||
| # .NET 9 installation instructions for macOS | ||
|
|
||
| The following instructions demonstrate installing .NET 9 on macOS. These instructions augment the more general [.NET install instructions](install.md), including installing with `.tar.gz` files, that work on multiple operating systems. | ||
|
|
||
| ## Distributions | ||
|
|
||
| The following distributions are available for Linux: | ||
|
|
||
| - .NET SDK: includes tools for building and testing applications, and includes the runtime distributions that follow. | ||
| - .NET Runtime: includes the .NET runtime and libraries, enabling running console applications. | ||
| - ASP.NET Core Runtime: includes the .NET and ASP.NET Core runtimes, enabling running console, and web applications. | ||
|
|
||
| We recommend you install the .NET SDK to develop and build applications, and to install one of the runtime packages (like ASP.NET Core) to exclusively run applications. | ||
|
|
||
| ## Downloads | ||
|
|
||
| Each of the distributions can be downloaded from: | ||
|
|
||
| - [Microsoft .NET website](https://dotnet.microsoft.com/download/dotnet/9.0) | ||
| - [.NET 9 release notes](README.md) | ||
|
|
||
| [Container images](https://hub.docker.com/r/microsoft/dotnet/) are provided for Linux (Alpine, Debian, and Ubuntu). | ||
|
|
||
| ## Install using PKG | ||
|
|
||
| You can install any of the distributions with PKG. The following image demonstrates installing the .NET SDK. After launching the PKG, click "Continue" and you will be taken through the process of installing the SDK. | ||
|
|
||
|  | ||
|
|
||
| ## Installing from a binary archive | ||
|
|
||
| You can install .NET with a binary archive. This option is required if you want to install .NET for a single user. It is also recommended if you want to install .NET temporarily. | ||
|
|
||
| The following workflow demonstrates downloading, unpacking, configuring, and running the .NET SDK from the command line. You may choose to do some of these tasks via the browser and functionality provided by your operating system. | ||
|
|
||
| ```bash | ||
| ~# curl -Lo dotnet.tar.gz https://download.visualstudio.microsoft.com/download/pr/9956af63-be37-43be-a854-01f3a95e12fe/60d97a3f4f53b33376b8df055a14cf39/dotnet-sdk-9.0.100-preview.1.24101.2-osx-x64.tar.gz | ||
| ~# mkdir dotnet | ||
| ~# tar -C dotnet -xf dotnet.tar.gz | ||
| ~# rm dotnet.tar.gz | ||
| ~# export DOTNET_ROOT=~/dotnet | ||
| ~# export PATH=$PATH:~/dotnet | ||
| ~# dotnet --version | ||
| 9.0.100-preview.1.24101.2 | ||
| ``` | ||
|
|
||
| The `DOTNET_ROOT` environment variable is required to launch an application with their executables (like `myapp.exe`). The executables look for this environment variable to find the runtime if it isn't installed in its regular location. The `PATH` environment variable must be updated if you want to use `dotnet` without absolute paths to its location. Setting both of these environment variables is optional. | ||
|
|
||
| You can add your .NET install location permanently to your path if you'd like. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,64 @@ | ||
| # .NET 9 installation instructions for Windows | ||
|
|
||
| The following instructions demonstrate installing .NET 9 on Windows. These instructions augment the more general [.NET install instructions](install.md), including installing with `.zip` files, that work on multiple operating systems. | ||
|
|
||
| ## Distributions | ||
|
|
||
| The following distributions are available for Windows: | ||
|
|
||
| - .NET SDK: includes tools for building and testing applications, and includes the runtime distributions that follow. | ||
| - .NET Runtime: includes the .NET runtime and libraries, enabling running console applications. | ||
| - .NET Desktop Runtime: includes the .NET runtime and Windows desktop libraries, enabling running console, Windows Forms, and Windows Presentation Framework (WPF) applications. | ||
| - ASP.NET Core Runtime: includes the .NET and ASP.NET Core runtimes, enabling running console, and web applications. | ||
| - ASP.NET Core Hosting Bundle: includes the ASP.NET Core runtime and IIS support (for running both in- and out-of-process with IIS). | ||
|
|
||
| We recommend you install the .NET SDK to develop and build applications, and to install one of the runtime packages (like ASP.NET Core) to exclusively run applications. | ||
|
|
||
| ## Downloads | ||
|
|
||
| Each of the distributions can be downloaded from: | ||
|
|
||
| - [Microsoft .NET website](https://dotnet.microsoft.com/download/dotnet/9.0) | ||
| - [.NET 9 release notes](README.md) | ||
|
|
||
| [Container images](https://hub.docker.com/_/microsoft-dotnet) are provided for Windows (Nano Server and Server Core) and Linux (Alpine, Debian, and Ubuntu). | ||
|
|
||
| ## Windows Package Manager CLI (winget) | ||
|
|
||
| You can now install .NET updates using the Windows Package Manager CLI (winget): | ||
|
|
||
| - To install the .NET 9 runtime: `winget install dotnet-runtime-9` | ||
| - To install the .NET 9 SDK: `winget install dotnet-sdk-9` | ||
| - To update an existing installation: `winget upgrade` | ||
|
|
||
| See [Install with Windows Package Manager (winget)](https://learn.microsoft.com/dotnet/core/install/windows?tabs=net70#install-with-windows-package-manager-winget) for more information. | ||
|
|
||
| ## Install using MSI | ||
|
|
||
| You can install any of the distributions with MSI. The following image demonstrates installing the .NET SDK. After launching the MSI, click "Install" and you will be taken through the process of installing the SDK. | ||
|
|
||
|  | ||
|
|
||
| ## Windows Server Hosting with IIS | ||
|
|
||
| You should install the Hosting Bundle MSI if you want to enable hosting ASP.NET Core with IIS. | ||
|
|
||
| ## Installing from a binary archive | ||
|
|
||
| You can install .NET with a binary archive. This option is required if you want to install .NET for a single user. It is also recommended if you want to install .NET temporarily. | ||
|
|
||
| The following workflow demonstrates downloading, unpacking, configuring, and running the .NET SDK from the command line. You may choose to do some of these tasks via the browser and functionality provided by your operating system. | ||
|
|
||
| ```console | ||
| C:\>curl -Lo dotnet.zip https://download.visualstudio.microsoft.com/download/pr/bb120bd7-6656-4ebf-9efc-87dbbbd2f344/ef7cb2cf73d9a740c2af0b4ca9c2266e/dotnet-sdk-9.0.100-preview.1.24101.2-win-x64.exe | ||
| C:\>tar -C dotnet -xf dotnet.zip | ||
| C:\>del dotnet.zip | ||
| C:\>set DOTNET_ROOT=C:\dotnet | ||
| C:\>set PATH=%PATH%;C:\dotnet | ||
| C:\>dotnet --version | ||
| 9.0.100-preview.1.24101.2 | ||
| ``` | ||
|
|
||
| The `DOTNET_ROOT` environment variable is required to launch an application with their executables (like `myapp.exe`). The executables look for this environment variable to find the runtime if it isn't installed in its regular location. The `PATH` environment variable must be updated if you want to use `dotnet` without absolute paths to its location. Setting both of these environment variables is optional. | ||
|
|
||
| You can add your .NET install location permanently to your path if you'd like. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| # .NET Workloads | ||
|
|
||
| After installing .NET 9 previews, you can install workloads by following these instructions. For more information read through the [documentation](https://learn.microsoft.com/dotnet/core/tools/dotnet-workload). | ||
|
|
||
| ## .NET MAUI | ||
|
|
||
| Install the .NET MAUI workload: | ||
|
|
||
| ``` | ||
| > dotnet workload install maui | ||
| ... | ||
| Successfully installed workload(s) maui. | ||
| ``` | ||
|
|
||
| Verify installation: | ||
|
|
||
| ``` | ||
| > dotnet workload list | ||
|
|
||
| Installed Workload Id Manifest Version Installation Source | ||
| -------------------------------------------------------------------------------------------- | ||
| maui 9.0.0-preview.1.9973/9.0.100-preview.1 SDK 9.0.100-preview.1 | ||
| ``` | ||
|
|
||
| Installing the `maui` workload includes `android`, `ios`, and `maccatalyst` workloads which may be installed independently. Run `dotnet workload search` for a full list of available workload configurations. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,95 @@ | ||
| # .NET 9 installation instructions | ||
|
|
||
| Concise install instructions are provided in this document and may be augmented in [release notes](README.md) for a given update. Complete [.NET installation instructions for Windows, macOS, and Linux](https://learn.microsoft.com/dotnet/core/install/) are provided for supported releases in [.NET documentation](https://learn.microsoft.com/dotnet). | ||
|
|
||
| Operating system specific instructions: | ||
|
|
||
| - [Linux](install-linux.md) | ||
| - [macOS](install-macos.md) | ||
| - [Windows](install-windows.md) | ||
|
|
||
| ## [Using dotnet-install-scripts](https://learn.microsoft.com/dotnet/core/tools/dotnet-install-script) | ||
|
|
||
| ### Install the latest preview version of the 9.0.1xx SDK to the specified location | ||
|
|
||
| Windows: | ||
|
|
||
| ```console | ||
| ./dotnet-install.ps1 -Channel 9.0.1xx -Quality preview -InstallDir C:\cli | ||
| ``` | ||
|
|
||
| macOS/Linux: | ||
|
|
||
| ```console | ||
| ./dotnet-install.sh --channel 9.0.1xx --quality preview --install-dir ~/cli | ||
| ``` | ||
|
|
||
| ### Install the latest preview version of the 9.0.0 runtime to the specified location | ||
|
|
||
| Windows: | ||
|
|
||
| ```console | ||
| .\.dotnet\dotnet-install.ps1 -Channel 9.0 -Runtime dotnet -Quality preview -InstallDir c:\cli | ||
| ``` | ||
|
|
||
| macOs/Linux: | ||
|
|
||
| ```console | ||
| ./dotnet-install.sh --runtime dotnet --channel 9.0 --quality preview --install-dir ~/cli | ||
| ``` | ||
|
|
||
| ## Distributions | ||
|
|
||
| The following distributions are available for all operating systems: | ||
|
|
||
| - .NET SDK: includes tools for building and testing applications, and includes the runtime distributions that follow. | ||
| - .NET Runtime: includes the .NET runtime and libraries, enabling running console applications. | ||
| - ASP.NET Core Runtime: includes the .NET and ASP.NET Core runtimes, enabling running console, and web applications. | ||
|
|
||
| We recommend that you install the .NET SDK to develop and build applications, and to install one of the runtime packages (like ASP.NET Core) to (exclusively) run applications. | ||
|
|
||
| ## Downloads | ||
|
|
||
| Download links are provided for each of the distributions at: | ||
|
|
||
| - [Microsoft .NET website](https://dotnet.microsoft.com/download/dotnet/9.0) | ||
| - [.NET 9 release notes](preview/README.md) | ||
|
|
||
| [Container images](https://hub.docker.com/r/microsoft/dotnet/) are provided for Windows (Nano Server, and Server Core) and Linux (Alpine, Debian, and Ubuntu). | ||
|
|
||
| ## What's installed? | ||
|
|
||
| You can determine what is installed on your machine (assuming .NET is installed) using the following approach, with `dotnet --info`. | ||
|
|
||
| ```console | ||
| C:\>dotnet --info | ||
| .NET SDK (reflecting any global.json): | ||
| Version: 9.0.100-preview.1.24101.2 | ||
| Commit: 0a5360315a | ||
|
|
||
| Runtime Environment: | ||
| OS Name: Mac OS X | ||
| OS Version: 12.6 | ||
| OS Platform: Darwin | ||
| RID: osx.12-x64 | ||
| Base Path: /usr/local/share/dotnet/x64/sdk/9.0.100-preview.1.24101.2/ | ||
|
|
||
| Host: | ||
| Version: 9.0.0-preview.1.24080.9 | ||
| Architecture: x64 | ||
| Commit: 550605cc93 | ||
|
|
||
| .NET SDKs installed: | ||
| 9.0.100-preview.1.24101.2 [/usr/local/share/dotnet/x64/sdk] | ||
|
|
||
| .NET runtimes installed: | ||
| Microsoft.AspNetCore.App 9.0.0-preview.1.24081.5 [/usr/local/share/dotnet/x64/shared/Microsoft.AspNetCore.App] | ||
| Microsoft.NETCore.App 9.0.0-preview.1.24080.9 [/usr/local/share/dotnet/x64/shared/Microsoft.NETCore.App] | ||
| ``` | ||
|
|
||
| If you have the .NET SDK installed, you can also use `dotnet --version` as demonstrated in the following example: | ||
|
|
||
| ```console | ||
| C:\>dotnet --version | ||
| 9.0.100-preview.1.24101.2 | ||
| ``` |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.