|
1 | 1 | <Project Sdk="Microsoft.NET.Sdk.Razor"> |
2 | 2 | <PropertyGroup> |
3 | | - <TargetFrameworks>net6.0;net7.0;net8.0</TargetFrameworks> |
| 3 | + <TargetFramework>net6.0</TargetFramework> |
4 | 4 | <LangVersion>10</LangVersion> |
5 | 5 | <AddRazorSupportForMvc>true</AddRazorSupportForMvc> |
6 | 6 | <Nullable>enable</Nullable> |
|
20 | 20 | <RepositoryType>git</RepositoryType> |
21 | 21 | <PackageLicenseExpression>MIT</PackageLicenseExpression> |
22 | 22 | <PackageIcon>images\icon.png</PackageIcon> |
23 | | - <NuGetAuditMode>all</NuGetAuditMode> |
24 | | - <NuGetAuditLevel>high</NuGetAuditLevel> |
25 | | - <RestorePackagesWithLockFile>true</RestorePackagesWithLockFile> |
26 | 23 | </PropertyGroup> |
27 | 24 |
|
28 | 25 | <ItemGroup> |
29 | 26 | <FrameworkReference Include="Microsoft.AspNetCore.App"/> |
30 | | - <PackageReference Include="jcdcdev.Umbraco.Core" Version="0.3.1"/> |
31 | | - </ItemGroup> |
32 | | - |
33 | | - <ItemGroup Condition="'$(TargetFramework)' == 'net6.0'"> |
| 27 | + <PackageReference Include="jcdcdev.Umbraco.Core" Version="10.1.0"/> |
34 | 28 | <PackageReference Include="Umbraco.Cms.Core" Version="[10.4.0,11.0.0)"/> |
35 | 29 | <PackageReference Include="Umbraco.Cms.Infrastructure" Version="[10.4.0,11.0.0)"/> |
36 | 30 | </ItemGroup> |
37 | 31 |
|
38 | | - <ItemGroup Condition="'$(TargetFramework)' == 'net7.0'"> |
39 | | - <PackageReference Include="Umbraco.Cms.Core" Version="[11.0.0,13.0.0)"/> |
40 | | - <PackageReference Include="Umbraco.Cms.Infrastructure" Version="[11.0.0,13.0.0)"/> |
41 | | - </ItemGroup> |
42 | | - |
43 | | - <ItemGroup Condition="'$(TargetFramework)' == 'net8.0'"> |
44 | | - <PackageReference Include="Umbraco.Cms.Core" Version="[13.0.0,14.0.0)"/> |
45 | | - <PackageReference Include="Umbraco.Cms.Infrastructure" Version="[13.0.0,14.0.0)"/> |
46 | | - </ItemGroup> |
47 | | - |
48 | 32 | <PropertyGroup Condition="'$(Configuration)' == 'Debug'"> |
49 | | - <PackageVersion>$([System.DateTime]::UtcNow.ToString(`yyyy`).TrimStart(`0`)).$([System.DateTime]::UtcNow.ToString(`MM`).TrimStart(`0`))$([System.DateTime]::UtcNow.ToString(`dd`).TrimStart(`0`)).$([System.DateTime]::UtcNow.ToString(`Hmm`).TrimStart(`0`))-alpha$([System.DateTime]::UtcNow.ToString(`ss`).TrimStart(`.`))</PackageVersion> |
| 33 | + <Major>UMBRACO_VERSION</Major> |
| 34 | + <Minor>$([System.DateTime]::UtcNow.ToString(`yyyy`))</Minor> |
| 35 | + <Patch>$([System.DateTime]::UtcNow.ToString(`MMdd`).TrimStart(`0`))</Patch> |
| 36 | + <Suffix>-alpha-$([System.DateTime]::UtcNow.ToString(`Hmm-ss`).TrimStart(`.`))</Suffix> |
| 37 | + <PackageVersion>$(Major).$(Minor).$(Patch)$(Suffix)</PackageVersion> |
50 | 38 | <Version>$(PackageVersion)</Version> |
51 | 39 | <GeneratePackageOnBuild>true</GeneratePackageOnBuild> |
52 | 40 | </PropertyGroup> |
53 | 41 |
|
54 | 42 | <ItemGroup> |
55 | 43 | <None Include="..\..\docs\icon.png" Pack="true" PackagePath="images\icon.png"/> |
56 | | - <None Include="..\..\.github\README.md" Pack="true" PackagePath="\"/> |
| 44 | + <None Include="..\..\docs\README_nuget.md" Pack="true" PackagePath="\"/> |
57 | 45 | </ItemGroup> |
58 | 46 | </Project> |
0 commit comments