* Moved to centralized nuget packages * Handle JsonSchema * Change PackageReference to PackageVersion * Opt out of central package management for mangement api (at least for versions less than 14) and the UI project * ManagePackageVersionsCentrally = false * Change folder acceptance tests are build, to avoid reading the test Directory.Packages.props * Change folder acceptance tests are build, to avoid reading the test Directory.Packages.props * change working directory * workingDirectory * Force the template to use local nuget packages * Force the template to use local nuget packages * clean up * added wait on * added wait on
36 lines
1.8 KiB
XML
36 lines
1.8 KiB
XML
<Project Sdk="Microsoft.NET.Sdk.Web">
|
|
<PropertyGroup>
|
|
<TargetFramework>net6.0</TargetFramework>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<Nullable>enable</Nullable>
|
|
<RootNamespace Condition="'$(name)' != '$(name{-VALUE-FORMS-}safe_namespace)'">Umbraco.Cms.Web.UI</RootNamespace>
|
|
<ManagePackageVersionsCentrally>false</ManagePackageVersionsCentrally>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="Umbraco.Cms" Version="UMBRACO_VERSION_FROM_TEMPLATE" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<!-- Opt-in to app-local ICU to ensure consistent globalization APIs across different platforms -->
|
|
<PackageReference Include="Microsoft.ICU.ICU4C.Runtime" Version="68.2.0.9" />
|
|
<RuntimeHostConfigurationOption Include="System.Globalization.AppLocalIcu" Value="68.2.0.9" Condition="$(RuntimeIdentifier.StartsWith('linux')) or $(RuntimeIdentifier.StartsWith('win')) or ('$(RuntimeIdentifier)' == '' and !$([MSBuild]::IsOSPlatform('osx')))" />
|
|
</ItemGroup>
|
|
|
|
<PropertyGroup>
|
|
<!-- Razor files are needed for the backoffice to work correctly -->
|
|
<CopyRazorGenerateFilesToPublishDirectory>true</CopyRazorGenerateFilesToPublishDirectory>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup>
|
|
<!-- Remove RazorCompileOnBuild and RazorCompileOnPublish when not using ModelsMode InMemoryAuto -->
|
|
<RazorCompileOnBuild>false</RazorCompileOnBuild>
|
|
<RazorCompileOnPublish>false</RazorCompileOnPublish>
|
|
</PropertyGroup>
|
|
|
|
<Import Project="..\PACKAGE_PROJECT_NAME_FROM_TEMPLATE\buildTransitive\PACKAGE_PROJECT_NAME_FROM_TEMPLATE.targets" Condition="'$(PackageProjectName)' != ''" />
|
|
<ItemGroup Condition="'$(PackageProjectName)' != ''">
|
|
<ProjectReference Include="..\PACKAGE_PROJECT_NAME_FROM_TEMPLATE\PACKAGE_PROJECT_NAME_FROM_TEMPLATE.csproj" />
|
|
</ItemGroup>
|
|
</Project>
|