|
1 | 1 | <Project Sdk="Microsoft.NET.Sdk.Razor">
|
2 | 2 |
|
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> |
20 | 20 |
|
21 |
| - <ItemGroup> |
22 |
| - <None Include="wwwroot\BlazorCalendar.css" /> |
23 |
| - </ItemGroup> |
| 21 | + <ItemGroup> |
| 22 | + <None Include="wwwroot\BlazorCalendar.css" /> |
| 23 | + </ItemGroup> |
24 | 24 |
|
| 25 | + <ItemGroup> |
| 26 | + <SupportedPlatform Include="browser" /> |
| 27 | + </ItemGroup> |
25 | 28 |
|
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> |
29 | 32 |
|
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> |
33 | 36 |
|
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> |
40 | 40 |
|
41 | 41 | </Project>
|
0 commit comments