Skip to content

Commit

Permalink
Migrate project to .NET 9
Browse files Browse the repository at this point in the history
Migrate the project to .NET 9.

* **Project Files**
  - Update `src/Netatmo/Netatmo.csproj` to target .NET 9.
  - Update `tests/Netatmo.Tests/Netatmo.Tests.csproj` to target .NET 9.

* **Azure Pipelines**
  - Update `azure-pipelines.yml` to use .NET 9 SDK version 9.0.100.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/Riges/Netatmo?shareId=XXXX-XXXX-XXXX-XXXX).
  • Loading branch information
Riges committed Nov 14, 2024
1 parent 95cba90 commit 8cd750a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
displayName: "Use .NET Core SDK Tool Installer"
inputs:
packageType: "sdk"
version: "3.1.101"
version: "9.0.100"
- script: dotnet restore src
displayName: Restore packages
- script: |
Expand Down
2 changes: 1 addition & 1 deletion src/Netatmo/Netatmo.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net9.0</TargetFramework>
<LangVersion>latest</LangVersion>
<ImplicitUsings>enable</ImplicitUsings>
<IsPackable>true</IsPackable>
Expand Down
2 changes: 1 addition & 1 deletion tests/Netatmo.Tests/Netatmo.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net9.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<IsPackable>False</IsPackable>
Expand Down

0 comments on commit 8cd750a

Please sign in to comment.