commitff6d064b29Author: Paul Johnson <pmj@umbraco.com> Date: Mon May 23 08:43:52 2022 +0100 Allow for slow integration test runs commite6320a12baAuthor: Andy Butland <abutland73@gmail.com> Date: Sat May 21 08:10:52 2022 +0200 Fixed null check in external login. (cherry picked from commit9981907532) commit0f6630861eAuthor: Paul Johnson <pmj@umbraco.com> Date: Mon May 23 07:25:04 2022 +0100 static assets nupkg fixes (#12440) * Remove duplicate jsonschema build * Don't attempt to --no-build for dotnet pack (fixes static assets) * Bump version to 10.0.0-rc3 * Improve restoreKeys * update Umbraco.GitVersioning.Extensions to 0.1.1 (cherry picked from commit0ef34ab9c5) * tag e2e container with current commit * cache cypress binaries # Conflicts: # version.json
76 lines
3.2 KiB
XML
76 lines
3.2 KiB
XML
<Project Sdk="Microsoft.NET.Sdk.Web">
|
|
|
|
<PropertyGroup>
|
|
<TargetFramework>net6.0</TargetFramework>
|
|
<RootNamespace>Umbraco.Cms.Web.UI</RootNamespace>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Configuration)' == 'Release'">
|
|
<DocumentationFile>bin/Release/Umbraco.Web.UI.xml</DocumentationFile>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup>
|
|
<CopyRazorGenerateFilesToPublishDirectory>true</CopyRazorGenerateFilesToPublishDirectory>
|
|
</PropertyGroup>
|
|
|
|
<Import Project="..\Umbraco.Cms\buildTransitive\Umbraco.Cms.props" />
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\Umbraco.Cms\Umbraco.Cms.csproj" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="Microsoft.ICU.ICU4C.Runtime" Version="68.2.0.9" />
|
|
<RuntimeHostConfigurationOption Condition="$(RuntimeIdentifier.StartsWith('linux')) Or $(RuntimeIdentifier.StartsWith('win')) Or ('$(RuntimeIdentifier)' == '' And !$([MSBuild]::IsOSPlatform('osx')))" Include="System.Globalization.AppLocalIcu" Value="68.2.0.9" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="6.0.4" />
|
|
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1">
|
|
<PrivateAssets>all</PrivateAssets>
|
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
|
</PackageReference>
|
|
<PackageReference Include="Umbraco.Code" Version="2.0.0">
|
|
<PrivateAssets>all</PrivateAssets>
|
|
</PackageReference>
|
|
</ItemGroup>
|
|
|
|
<PropertyGroup>
|
|
<RazorCompileOnBuild>false</RazorCompileOnBuild>
|
|
<RazorCompileOnPublish>false</RazorCompileOnPublish>
|
|
<UseRazorSourceGenerator>false</UseRazorSourceGenerator> <!-- Disabling the Razor source generators in .NET 6 -->
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup>
|
|
<JsonSchemaPath>$(ProjectDir)appsettings-schema.json</JsonSchemaPath>
|
|
<JsonSchemaProjectPath>$(ProjectDir)../JsonSchema/JsonSchema.csproj</JsonSchemaProjectPath>
|
|
</PropertyGroup>
|
|
|
|
<Target Name="CheckPreconditions" BeforeTargets="Build">
|
|
<Message Text="-CheckPreconditions-" Importance="high" />
|
|
<Message Text="JsonSchemaPath: $(JsonSchemaPath)" Importance="high" />
|
|
|
|
<CallTarget Targets="JsonSchemaBuild" Condition="!Exists('$(JsonSchemaPath)') and '$(UmbracoBuild)' == ''" />
|
|
|
|
|
|
<CallTarget Targets="AppsettingsBuild" Condition="!Exists('appsettings.json')" />
|
|
<CallTarget Targets="AppsettingsDevBuild" Condition="!Exists('appsettings.Development.json')" />
|
|
</Target>
|
|
|
|
|
|
|
|
<Target Name="JsonSchemaBuild">
|
|
<Exec Command="dotnet run -c Release --project $(JsonSchemaProjectPath) -o "$(ProjectDir)appsettings-schema.json"" />
|
|
</Target>
|
|
|
|
<Target Name="AppsettingsBuild">
|
|
<Message Text="Generating appsettings.json because it doesnt exist" Importance="High" />
|
|
<Copy SourceFiles="$(Projectdir)/appsettings.template.json" DestinationFiles="$(ProjectDir)/appsettings.json" />
|
|
</Target>
|
|
|
|
<Target Name="AppsettingsDevBuild">
|
|
<Message Text="Generating appsettings.Development.json because it doesnt exist" Importance="High" />
|
|
<Copy SourceFiles="$(ProjectDir)appsettings.Development.template.json" DestinationFiles="$(ProjectDir)appsettings.Development.json" />
|
|
</Target>
|
|
|
|
</Project>
|