Skip to content

Commit

Permalink
Merge pull request #16 from cagemaan/patch-1
Browse files Browse the repository at this point in the history
[chore] Added .net 9 TargetFramework
  • Loading branch information
Anu6is authored Nov 15, 2024
2 parents b5f0317 + 4ece188 commit 9946c29
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/MudBlazor.StaticInput.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.Razor">

<PropertyGroup>
<TargetFrameworks>net8.0</TargetFrameworks>
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<Company>Ophois</Company>
Expand All @@ -24,11 +24,16 @@
<PackageReference Include="MudBlazor" Version="8.0.0-preview.4" />
</ItemGroup>

<ItemGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'net8.0' ">
<PackageReference Include="Microsoft.AspNetCore.Components" Version="8.0.*" />
<PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="8.0.*" />
</ItemGroup>

<ItemGroup Condition=" '$(TargetFramework)' == 'net9.0' ">
<PackageReference Include="Microsoft.AspNetCore.Components" Version="9.0.*" />
<PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="9.0.*" />
</ItemGroup>

<ItemGroup>
<None Include="..\content\nuget.png">
<Pack>True</Pack>
Expand Down

0 comments on commit 9946c29

Please sign in to comment.