Skip to content

Commit

Permalink
Update target framework and package references to .NET 9
Browse files Browse the repository at this point in the history
Updated target framework in Api.csproj and MyWeatherHub.csproj from net8.0 to net9.0. Updated package references in Api.csproj: Microsoft.AspNetCore.OpenApi to 9.0.0, Swashbuckle.AspNetCore to 7.0.0. Updated package references in MyWeatherHub.csproj: Microsoft.AspNetCore.Components.QuickGrid to 9.0.0, Microsoft.Extensions.ApiDescription.Client to 9.0.0.
  • Loading branch information
jongalloway committed Nov 15, 2024
1 parent 0bb142d commit 62be9ab
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 14 deletions.
11 changes: 4 additions & 7 deletions start-with-api/Api/Api.csproj
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
<Project Sdk="Microsoft.NET.Sdk.Web">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net9.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="8.0.8" />
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.7.3" />
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="9.0.0" />
<PackageReference Include="Swashbuckle.AspNetCore" Version="7.0.0" />
</ItemGroup>

</Project>
</Project>
11 changes: 4 additions & 7 deletions start-with-api/MyWeatherHub/MyWeatherHub.csproj
Original file line number Diff line number Diff line change
@@ -1,17 +1,14 @@
<Project Sdk="Microsoft.NET.Sdk.Web">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net9.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Components.QuickGrid" Version="8.0.8" />
<PackageReference Include="Microsoft.Extensions.ApiDescription.Client" Version="8.0.8">
<PackageReference Include="Microsoft.AspNetCore.Components.QuickGrid" Version="9.0.0" />
<PackageReference Include="Microsoft.Extensions.ApiDescription.Client" Version="9.0.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>

</Project>
</Project>

0 comments on commit 62be9ab

Please sign in to comment.