* feat: conditionally install and build the 'login' and 'backoffice' targets depending on source files * feat: remove the preconditions target, because we are now compiling a file list to check if we need to build * feat: remove the 'clean' targets, because the project will be cleaned if any of the compiled file lists do not exist * feat: remove the preserve.* files as they are no longer needed * Enable default content items again * Remove package.json from restore target inputs * Include generated files as static assets after build * Clean up project files * Exclude CS0618 warning as error and fix CA2264 * Exclude CS0612 warning as error * Suppress removal of test fixture * Use separate property/item groups for backoffice and login project --------- Co-authored-by: Ronald Barendse <ronald@barend.se>
24 lines
1.2 KiB
XML
24 lines
1.2 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
<PropertyGroup>
|
|
<Title>Umbraco CMS - Persistence - Entity Framework Core - SQL Server migrations</Title>
|
|
<Description>Adds support for Entity Framework Core SQL Server migrations to Umbraco CMS.</Description>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<!-- Take top-level depedendency on Azure.Identity, because Microsoft.EntityFrameworkCore.SqlServer depends on a vulnerable version -->
|
|
<PackageReference Include="Azure.Identity" />
|
|
<!-- Take top-level depedendency on System.Runtime.Caching, because Microsoft.EntityFrameworkCore.SqlServer depends on a vulnerable version -->
|
|
<PackageReference Include="System.Runtime.Caching" />
|
|
<!-- Take top-level depedendency on Microsoft.IdentityModel.JsonWebTokens, because OpenIddict.AspNetCore, NPoco.SqlServer and Microsoft.EntityFrameworkCore.SqlServer depends on a vulnerable version -->
|
|
<PackageReference Include="Microsoft.IdentityModel.JsonWebTokens" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\Umbraco.Cms.Persistence.EFCore\Umbraco.Cms.Persistence.EFCore.csproj" />
|
|
</ItemGroup>
|
|
</Project>
|