Skip to content

Commit

Permalink
.NET 8 Support
Browse files Browse the repository at this point in the history
  • Loading branch information
mckaragoz committed Nov 15, 2023
1 parent 5c3ce1f commit 861dae8
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 12 deletions.
6 changes: 5 additions & 1 deletion BCSS/BCSS.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.Razor">

<PropertyGroup>
<TargetFrameworks>net6.0;net7.0</TargetFrameworks>
<TargetFrameworks>net6.0;net7.0;net8.0</TargetFrameworks>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
Expand Down Expand Up @@ -39,6 +39,10 @@
<PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="7.0.1" />
</ItemGroup>

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

<ItemGroup>
<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleTo">
<_Parameter1>BCSS.Test</_Parameter1>
Expand Down
18 changes: 12 additions & 6 deletions BCSSViewer.Docs/BCSSViewer.Docs.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.Razor">

<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFrameworks>net7.0;net8.0</TargetFrameworks>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>
Expand All @@ -11,11 +11,17 @@
<SupportedPlatform Include="browser" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="CodeBeam.MudBlazor.Extensions" Version="6.5.8" />
<PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="7.0.10" />
<PackageReference Include="MudBlazor" Version="6.9.0" />
</ItemGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'net7.0' ">
<PackageReference Include="CodeBeam.MudBlazor.Extensions" Version="6.5.8" />
<PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="7.0.10" />
<PackageReference Include="MudBlazor" Version="6.9.0" />
</ItemGroup>

<ItemGroup Condition=" '$(TargetFramework)' == 'net8.0' ">
<PackageReference Include="CodeBeam.MudBlazor.Extensions" Version="6.5.8" />
<PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="8.0.0" />
<PackageReference Include="MudBlazor" Version="6.9.0" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\BCSS\BCSS.csproj" />
Expand Down
10 changes: 5 additions & 5 deletions BCSSViewer.Wasm/BCSSViewer.Wasm.csproj
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
<Project Sdk="Microsoft.NET.Sdk.BlazorWebAssembly">

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

<ItemGroup>
<PackageReference Include="CodeBeam.MudBlazor.Extensions" Version="6.5.8" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="7.0.10" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="7.0.10" PrivateAssets="all" />
<PackageReference Include="MudBlazor" Version="6.9.0" />
<PackageReference Include="CodeBeam.MudBlazor.Extensions" Version="6.6.2" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="8.0.0" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="8.0.0" PrivateAssets="all" />
<PackageReference Include="MudBlazor" Version="6.11.0" />
</ItemGroup>

<ItemGroup>
Expand Down

0 comments on commit 861dae8

Please sign in to comment.