.NET9 Release Notes
La version 9 de .NET a été lancée. .NET 9, le successeur de .NET 8, met l’accent sur les applications sur les applications natives Cloud et les performances. Il sera pris en charge pendant 18 mois en tant que version avec prise en charge à terme standard (STS).
You can do that by including this task in your YAML pipeline:
Mise à jour du .csproj
<PropertyGroup>
<TargetFramework>net9.0</TargetFramework>
</PropertyGroup>
Azure DevOps
If you use Azure YAML CI/CD pipelines, you may need to download the .NET 9 SDK onto your Azure agent. This is particularly important if .NET 9 has just been released as the Azure agent may not have the .NET 9 SDK installed.You can do that by including this task in your YAML pipeline:
- task: UseDotNet@2
name: 'UseDotNet9SDK'
displayName: '.NET 9 SDK install'
inputs:
packageType: sdk
version: 9.x
installationPath: $(Agent.ToolsDirectory)/dotnet
Ressources
- https://learn.microsoft.com/fr-fr/dotnet/core/whats-new/dotnet-9/overview
- https://learn.microsoft.com/en-us/aspnet/core/release-notes/aspnetcore-9.0
- https://learn.microsoft.com/en-us/aspnet/core/migration/80-90
- https://www.roundthecode.com/dotnet-blog/dotnet-9-released-how-do-you-update
Commentaires
Enregistrer un commentaire