Skip to content

Commit 845ce9b

Browse files
committed
Added Compatibility for net6.0
1 parent 7bceabe commit 845ce9b

File tree

1 file changed

+32
-32
lines changed

1 file changed

+32
-32
lines changed

BlazorCalendar/BlazorCalendar.csproj

+32-32
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,41 @@
11
<Project Sdk="Microsoft.NET.Sdk.Razor">
22

3-
<PropertyGroup>
4-
<TargetFramework>net7.0</TargetFramework>
5-
<Nullable>enable</Nullable>
6-
<ImplicitUsings>enable</ImplicitUsings>
7-
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
8-
<Description>annual calendar for Blazor application</Description>
9-
<Copyright>Copyright 2023</Copyright>
10-
<PackageProjectUrl>https://github.com/tossnet/Blazor-Calendar</PackageProjectUrl>
11-
<PackageIcon>icon.png</PackageIcon>
12-
<RepositoryUrl>https://github.com/tossnet/Blazor-Calendar</RepositoryUrl>
13-
<RepositoryType>git</RepositoryType>
14-
<PackageTags>blazor, calendar, schedule, component</PackageTags>
15-
<PackageReleaseNotes>https://github.com/tossnet/Blazor-Calendar#release-notes</PackageReleaseNotes>
16-
<Version>2.6.5</Version>
17-
<Authors>Christophe Peugnet</Authors>
18-
<DebugType>embedded</DebugType>
19-
</PropertyGroup>
3+
<PropertyGroup>
4+
<TargetFrameworks>net6.0; net7.0</TargetFrameworks>
5+
<Nullable>enable</Nullable>
6+
<ImplicitUsings>enable</ImplicitUsings>
7+
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
8+
<Description>annual calendar for Blazor application</Description>
9+
<Copyright>Copyright 2023</Copyright>
10+
<PackageProjectUrl>https://github.com/tossnet/Blazor-Calendar</PackageProjectUrl>
11+
<PackageIcon>icon.png</PackageIcon>
12+
<RepositoryUrl>https://github.com/tossnet/Blazor-Calendar</RepositoryUrl>
13+
<RepositoryType>git</RepositoryType>
14+
<PackageTags>blazor, calendar, schedule, component</PackageTags>
15+
<PackageReleaseNotes>https://github.com/tossnet/Blazor-Calendar#release-notes</PackageReleaseNotes>
16+
<Version>2.6.5</Version>
17+
<Authors>Christophe Peugnet</Authors>
18+
<DebugType>embedded</DebugType>
19+
</PropertyGroup>
2020

21-
<ItemGroup>
22-
<None Include="wwwroot\BlazorCalendar.css" />
23-
</ItemGroup>
21+
<ItemGroup>
22+
<None Include="wwwroot\BlazorCalendar.css" />
23+
</ItemGroup>
2424

25+
<ItemGroup>
26+
<SupportedPlatform Include="browser" />
27+
</ItemGroup>
2528

26-
<ItemGroup>
27-
<SupportedPlatform Include="browser" />
28-
</ItemGroup>
29+
<ItemGroup Condition="'$(TargetFramework)' == 'net6.0'">
30+
<PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="6.0.10" />
31+
</ItemGroup>
2932

30-
<ItemGroup>
31-
<PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="7.0.8" />
32-
</ItemGroup>
33+
<ItemGroup Condition="'$(TargetFramework)' == 'net7.0'">
34+
<PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="7.0.8" />
35+
</ItemGroup>
3336

34-
<ItemGroup>
35-
<None Update="icon.png">
36-
<Pack>True</Pack>
37-
<PackagePath>\</PackagePath>
38-
</None>
39-
</ItemGroup>
37+
<ItemGroup>
38+
<None Include="icon.png" Pack="true" PackagePath="\" />
39+
</ItemGroup>
4040

4141
</Project>

0 commit comments

Comments
 (0)