Skip to content

Commit

Permalink
Support .NET 8 and 9
Browse files Browse the repository at this point in the history
  • Loading branch information
mrpmorris committed Dec 19, 2024
1 parent 19bc0d0 commit 16b418a
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 6 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ More sample projects will be added as the framework develops.

## What's new

### New in 3.1.1
- Support for .net 8 and 9 only

### New in 3.1.0
- Support for .Net 8

Expand Down
2 changes: 1 addition & 1 deletion Source/Lib/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<Copyright>Peter Morris</Copyright>
<PackageLicenseFile></PackageLicenseFile>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<TargetFrameworks>net6.0;net7.0;net8.0</TargetFrameworks>
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>

<PackageProjectUrl>https://github.com/mrpmorris/blazor-validation</PackageProjectUrl>
<PackageIconUrl />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,8 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="8.*" Condition="'$(TargetFramework)' == 'net8.0'"/>
<PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="7.*" Condition="'$(TargetFramework)' == 'net7.0'"/>
<PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="6.*" Condition="'$(TargetFramework)' == 'net6.0'"/>
<PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="[9.0.0.0,10.0.0.0)" Condition="'$(TargetFramework)' == 'net9.0'"/>
<PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="[8.0.0.0,9.0.0.0)" Condition="'$(TargetFramework)' == 'net8.0'"/>
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.BlazorWebAssembly">

<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net9.0</TargetFramework>
</PropertyGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.Web">

<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net9.0</TargetFramework>
</PropertyGroup>

<ItemGroup>
Expand Down

0 comments on commit 16b418a

Please sign in to comment.