|
1 |
| -<Project Sdk="Microsoft.NET.Sdk.Web"> |
2 |
| - <PropertyGroup> |
3 |
| - <TargetFramework>net8.0</TargetFramework> |
4 |
| - <ImplicitUsings>enable</ImplicitUsings> |
5 |
| - <Nullable>enable</Nullable> |
6 |
| - </PropertyGroup> |
| 1 | +<Project Sdk="Microsoft.NET.Sdk.Web"> |
| 2 | + <PropertyGroup> |
| 3 | + <TargetFramework>net8.0</TargetFramework> |
| 4 | + <ImplicitUsings>enable</ImplicitUsings> |
| 5 | + <Nullable>enable</Nullable> |
| 6 | + </PropertyGroup> |
7 | 7 |
|
8 |
| - <ItemGroup> |
9 |
| - <PackageReference Include="Umbraco.Cms" Version="14.2.0" /> |
10 |
| - </ItemGroup> |
| 8 | + <ItemGroup> |
| 9 | + <PackageReference Include="Umbraco.Cms" Version="14.2.0" /> |
| 10 | + <ProjectReference Include="..\..\src\Our.Umbraco.UiExamples.v14\Our.Umbraco.UiExamples.v14.csproj" /> |
| 11 | + </ItemGroup> |
11 | 12 |
|
12 |
| - <ItemGroup> |
13 |
| - <!-- Opt-in to app-local ICU to ensure consistent globalization APIs across different platforms --> |
14 |
| - <PackageReference Include="Microsoft.ICU.ICU4C.Runtime" Version="72.1.0.3" /> |
15 |
| - <RuntimeHostConfigurationOption Include="System.Globalization.AppLocalIcu" Value="72.1.0.3" Condition="$(RuntimeIdentifier.StartsWith('linux')) or $(RuntimeIdentifier.StartsWith('win')) or ('$(RuntimeIdentifier)' == '' and !$([MSBuild]::IsOSPlatform('osx')))" /> |
16 |
| - </ItemGroup> |
| 13 | + <ItemGroup> |
| 14 | + <!-- Opt-in to app-local ICU to ensure consistent globalization APIs across different platforms --> |
| 15 | + <PackageReference Include="Microsoft.ICU.ICU4C.Runtime" Version="72.1.0.3" /> |
| 16 | + <RuntimeHostConfigurationOption Include="System.Globalization.AppLocalIcu" Value="72.1.0.3" Condition="$(RuntimeIdentifier.StartsWith('linux')) or $(RuntimeIdentifier.StartsWith('win')) or ('$(RuntimeIdentifier)' == '' and !$([MSBuild]::IsOSPlatform('osx')))" /> |
| 17 | + </ItemGroup> |
17 | 18 |
|
18 |
| - <ItemGroup> |
19 |
| - <Folder Include="App_Plugins\Example.UI\" /> |
20 |
| - </ItemGroup> |
| 19 | + <PropertyGroup> |
| 20 | + <!-- Razor files are needed for the backoffice to work correctly --> |
| 21 | + <CopyRazorGenerateFilesToPublishDirectory>true</CopyRazorGenerateFilesToPublishDirectory> |
| 22 | + </PropertyGroup> |
21 | 23 |
|
22 |
| - <PropertyGroup> |
23 |
| - <!-- Razor files are needed for the backoffice to work correctly --> |
24 |
| - <CopyRazorGenerateFilesToPublishDirectory>true</CopyRazorGenerateFilesToPublishDirectory> |
25 |
| - </PropertyGroup> |
26 |
| - |
27 |
| - <PropertyGroup> |
28 |
| - <!-- Remove RazorCompileOnBuild and RazorCompileOnPublish when not using ModelsMode InMemoryAuto --> |
29 |
| - <RazorCompileOnBuild>false</RazorCompileOnBuild> |
30 |
| - <RazorCompileOnPublish>false</RazorCompileOnPublish> |
31 |
| - </PropertyGroup> |
| 24 | + <PropertyGroup> |
| 25 | + <!-- Remove RazorCompileOnBuild and RazorCompileOnPublish when not using ModelsMode InMemoryAuto --> |
| 26 | + <RazorCompileOnBuild>false</RazorCompileOnBuild> |
| 27 | + <RazorCompileOnPublish>false</RazorCompileOnPublish> |
| 28 | + </PropertyGroup> |
32 | 29 |
|
33 | 30 | </Project>
|
0 commit comments