mirror of
https://github.com/VSadov/Satori.git
synced 2025-06-09 17:44:48 +09:00
A few more net8 to net9 renames (#104342)
This commit is contained in:
parent
7a5fb4f025
commit
58b5a6c229
5 changed files with 17 additions and 17 deletions
|
@ -14,7 +14,7 @@ dotnet new nugetconfig
|
|||
|
||||
Next, add the package source to NuGet.Config with the [dotnet nuget add source](https://learn.microsoft.com/dotnet/core/tools/dotnet-nuget-add-source) command:
|
||||
```
|
||||
dotnet nuget add source -n dotnet8 https://dnceng.pkgs.visualstudio.com/public/_packaging/dotnet8/nuget/v3/index.json
|
||||
dotnet nuget add source -n dotnet9 https://dnceng.pkgs.visualstudio.com/public/_packaging/dotnet9/nuget/v3/index.json
|
||||
```
|
||||
|
||||
Then, you will be able to add the latest prerelease version of the desired package to your project.
|
||||
|
@ -31,7 +31,7 @@ To use daily builds of the entire runtime, follow the steps given in the rest of
|
|||
If you're using private Azure DevOps feeds for your projects, you might need to add the preview feed through the Azure-specific feed URI format, which is `azure-feed://organization/optionalProject/feed@view`. In this case, you can add the .NET development package feed as follows:
|
||||
|
||||
```
|
||||
azure-feed://dnceng/public/dotnet8@Local
|
||||
azure-feed://dnceng/public/dotnet9@Local
|
||||
```
|
||||
|
||||
## Install prerequisites
|
||||
|
@ -40,11 +40,11 @@ azure-feed://dnceng/public/dotnet8@Local
|
|||
|
||||
2. If you are using a local copy of the dotnet CLI, take care that when you type `dotnet` you do not inadvertently pick up a different copy that you may have in your path. On Windows, for example, if you use a Command Prompt, a global copy may be in the path, so use the fully qualified path to your local `dotnet` (e.g. `C:\dotnet\dotnet.exe`). If you receive an error "error NETSDK1045: The current .NET SDK does not support targeting .NET 9.0." then you may be executing an older `dotnet`.
|
||||
|
||||
After setting up dotnet you can verify you are using the dogfooding version by executing `dotnet --info`. Here is an example output at the time of writing:
|
||||
After setting up dotnet you can verify you are using the current preview version by executing `dotnet --info`. Here is an example output:
|
||||
```
|
||||
>dotnet --info
|
||||
.NET SDK:
|
||||
Version: 9.0.100-preview.5.22226.4
|
||||
Version: 9.0.100-preview.1.23456.7
|
||||
Commit: fc127ac5a4
|
||||
|
||||
Runtime Environment:
|
||||
|
@ -52,7 +52,7 @@ Runtime Environment:
|
|||
OS Version: 10.0.22616
|
||||
OS Platform: Windows
|
||||
RID: win10-x64
|
||||
Base Path: C:\Program Files\dotnet\sdk\9.0.100-preview.5.22226.4\
|
||||
Base Path: C:\Program Files\dotnet\sdk\9.0.100-preview.1.23456.7\
|
||||
|
||||
global.json file:
|
||||
Not found
|
||||
|
@ -63,10 +63,10 @@ Host:
|
|||
Commit: 47d9c43ab1
|
||||
|
||||
.NET SDKs installed:
|
||||
9.0.100-preview.5.22226.4 [C:\Program Files\dotnet\sdk]
|
||||
9.0.100-preview.1.23456.7 [C:\Program Files\dotnet\sdk]
|
||||
|
||||
.NET runtimes installed:
|
||||
Microsoft.NETCore.App 9.0.0-preview.5.22224.3 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
|
||||
Microsoft.NETCore.App 9.0.0-preview.1.23456.7 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
|
||||
|
||||
Download .NET:
|
||||
https://aka.ms/dotnet-download
|
||||
|
@ -79,7 +79,7 @@ Learn about .NET Runtimes and SDKs:
|
|||
3. Our daily builds are uploaded to development feed, not NuGet - so ensure the development feed is in your nuget configuration in case you need other packages that aren't included in the download. For example, on Windows you could edit `%userprofile%\appdata\roaming\nuget\nuget.config` or on Linux edit `~/.nuget/NuGet/NuGet.Config` to add these lines:
|
||||
```xml
|
||||
<packageSources>
|
||||
<add key="dotnet8" value="https://dnceng.pkgs.visualstudio.com/public/_packaging/dotnet8/nuget/v3/index.json" />
|
||||
<add key="dotnet9" value="https://dnceng.pkgs.visualstudio.com/public/_packaging/dotnet9/nuget/v3/index.json" />
|
||||
...
|
||||
</packageSources>
|
||||
```
|
||||
|
@ -150,7 +150,7 @@ make it self-contained by adding a RuntimeIdentifier (RID).
|
|||
<!-- Ensure that the target framework is correct e.g. 'net9.0' -->
|
||||
<TargetFramework>net9.0</TargetFramework>
|
||||
<!-- modify build in this line with version reported by `dotnet --info` as above under ".NET runtimes installed" -> Microsoft.NETCore.App -->
|
||||
<!-- moreover, this can be any valid Microsoft.NETCore.App package version from https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet8/nuget/v3/index.json -->
|
||||
<!-- moreover, this can be any valid Microsoft.NETCore.App package version from https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet9/nuget/v3/index.json -->
|
||||
<RuntimeFrameworkVersion>9.0.0-preview.5.22224.3</RuntimeFrameworkVersion>
|
||||
<RuntimeIdentifier>win-x64</RuntimeIdentifier> <!-- RID to make it self-contained -->
|
||||
</PropertyGroup>
|
||||
|
@ -165,8 +165,8 @@ $ bin\Debug\net9.0\win-x64\publish\App.exe
|
|||
### Daily builds table
|
||||
|
||||
<!--
|
||||
To update this table, run 'build.sh/cmd RegenerateDownloadTable'. See
|
||||
'tools-local/regenerate-readme-table.proj' to add or remove rows or columns,
|
||||
To update this table, run 'build.sh/cmd -s RegenerateDownloadTable'. See
|
||||
'eng/regenerate-download-table.csproj' to add or remove rows or columns,
|
||||
and add links below to fill out the table's contents.
|
||||
-->
|
||||
<!-- BEGIN generated table -->
|
||||
|
|
|
@ -81,7 +81,7 @@ This config file will require a handful of modifications to work as we need it t
|
|||
|
||||
<!-- Any packages that might be required, but not present in your build, will have to be taken from the latest NuGet feed. -->
|
||||
<!-- More info on: https://github.com/dotnet/sdk#installing-the-sdk -->
|
||||
<add key="dotnet8" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet8/nuget/v3/index.json" />
|
||||
<add key="dotnet9" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet9/nuget/v3/index.json" />
|
||||
|
||||
<!-- Set this path to where your Shipping Artifacts are located. Note that we are assuming a 'Debug' build in this example. -->
|
||||
<add key="local runtime" value="Path/To/Runtime/artifacts/packages/Debug/Shipping" />
|
||||
|
|
|
@ -88,7 +88,7 @@ dotnet publish --self-contained
|
|||
<!--To inherit the global NuGet package sources remove the <clear/> line below -->
|
||||
<clear />
|
||||
<add key="nuget" value="https://api.nuget.org/v3/index.json" />
|
||||
<add key="dotnet8" value="https://dnceng.pkgs.visualstudio.com/public/_packaging/dotnet8/nuget/v3/index.json" />
|
||||
<add key="dotnet9" value="https://dnceng.pkgs.visualstudio.com/public/_packaging/dotnet9/nuget/v3/index.json" />
|
||||
</packageSources>
|
||||
</configuration>
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue