|
1 | 1 | <Project Sdk="Microsoft.NET.Sdk.Web"> |
2 | | - <PropertyGroup> |
3 | | - <TargetFramework>net6.0</TargetFramework> |
4 | | - <ImplicitUsings>enable</ImplicitUsings> |
5 | | - <Nullable>enable</Nullable> |
6 | | - <RootNamespace>TestSite.Ten</RootNamespace> |
7 | | - </PropertyGroup> |
| 2 | + <PropertyGroup> |
| 3 | + <TargetFramework>net6.0</TargetFramework> |
| 4 | + <ImplicitUsings>enable</ImplicitUsings> |
| 5 | + <Nullable>enable</Nullable> |
| 6 | + <RootNamespace>TestSite.Ten</RootNamespace> |
| 7 | + </PropertyGroup> |
8 | 8 |
|
9 | | - <ItemGroup> |
10 | | - <PackageReference Include="Umbraco.Cms" Version="10.4.0"/> |
11 | | - <PackageReference Include="uSync" Version="10.7.1"/> |
12 | | - </ItemGroup> |
| 9 | + <ItemGroup> |
| 10 | + <PackageReference Include="Umbraco.Cms" Version="10.4.0"/> |
| 11 | + <PackageReference Include="uSync" Version="10.7.1"/> |
| 12 | + </ItemGroup> |
13 | 13 |
|
14 | | - <ItemGroup> |
15 | | - <!-- Opt-in to app-local ICU to ensure consistent globalization APIs across different platforms --> |
16 | | - <PackageReference Include="Microsoft.ICU.ICU4C.Runtime" Version="68.2.0.9"/> |
17 | | - <RuntimeHostConfigurationOption Include="System.Globalization.AppLocalIcu" Value="68.2.0.9" Condition="$(RuntimeIdentifier.StartsWith('linux')) or $(RuntimeIdentifier.StartsWith('win')) or ('$(RuntimeIdentifier)' == '' and !$([MSBuild]::IsOSPlatform('osx')))"/> |
18 | | - </ItemGroup> |
| 14 | + <ItemGroup> |
| 15 | + <!-- Opt-in to app-local ICU to ensure consistent globalization APIs across different platforms --> |
| 16 | + <PackageReference Include="Microsoft.ICU.ICU4C.Runtime" Version="68.2.0.9"/> |
| 17 | + <RuntimeHostConfigurationOption Include="System.Globalization.AppLocalIcu" Value="68.2.0.9" Condition="$(RuntimeIdentifier.StartsWith('linux')) or $(RuntimeIdentifier.StartsWith('win')) or ('$(RuntimeIdentifier)' == '' and !$([MSBuild]::IsOSPlatform('osx')))"/> |
| 18 | + </ItemGroup> |
19 | 19 |
|
20 | | - <ItemGroup> |
21 | | - <Content Update="appsettings.*.json"> |
22 | | - <DependentUpon>appsettings.json</DependentUpon> |
23 | | - </Content> |
24 | | - </ItemGroup> |
| 20 | + <ItemGroup> |
| 21 | + <Content Update="appsettings.*.json"> |
| 22 | + <DependentUpon>appsettings.json</DependentUpon> |
| 23 | + </Content> |
| 24 | + </ItemGroup> |
25 | 25 |
|
26 | | - <ItemGroup> |
27 | | - <ProjectReference Include="..\jcdcdev.Umbraco.ReadingTime\jcdcdev.Umbraco.ReadingTime.csproj"/> |
28 | | - </ItemGroup> |
| 26 | + <ItemGroup> |
| 27 | + <ProjectReference Include="..\jcdcdev.Umbraco.ReadingTime\jcdcdev.Umbraco.ReadingTime.csproj"/> |
| 28 | + </ItemGroup> |
29 | 29 |
|
30 | | - <PropertyGroup> |
31 | | - <!-- Razor files are needed for the backoffice to work correctly --> |
32 | | - <CopyRazorGenerateFilesToPublishDirectory>true</CopyRazorGenerateFilesToPublishDirectory> |
33 | | - </PropertyGroup> |
| 30 | + <PropertyGroup> |
| 31 | + <!-- Razor files are needed for the backoffice to work correctly --> |
| 32 | + <CopyRazorGenerateFilesToPublishDirectory>true</CopyRazorGenerateFilesToPublishDirectory> |
| 33 | + </PropertyGroup> |
34 | 34 |
|
35 | | - <PropertyGroup> |
36 | | - <!-- Remove RazorCompileOnBuild and RazorCompileOnPublish when not using ModelsMode InMemoryAuto --> |
37 | | - <RazorCompileOnBuild>false</RazorCompileOnBuild> |
38 | | - <RazorCompileOnPublish>false</RazorCompileOnPublish> |
39 | | - </PropertyGroup> |
| 35 | + <PropertyGroup> |
| 36 | + <!-- Remove RazorCompileOnBuild and RazorCompileOnPublish when not using ModelsMode InMemoryAuto --> |
| 37 | + <RazorCompileOnBuild>false</RazorCompileOnBuild> |
| 38 | + <RazorCompileOnPublish>false</RazorCompileOnPublish> |
| 39 | + </PropertyGroup> |
40 | 40 |
|
41 | 41 | </Project> |
0 commit comments