-
Notifications
You must be signed in to change notification settings - Fork 1
/
CMSSecurity.csproj
57 lines (49 loc) · 2.31 KB
/
CMSSecurity.csproj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<OutputType>Library</OutputType>
<NoDefaultLaunchSettingsFile>true</NoDefaultLaunchSettingsFile>
<SatelliteResourceLanguages>en</SatelliteResourceLanguages>
<RootNamespace>Carrotware.CMS.Security</RootNamespace>
<AssemblyName>Carrotware.CMS.Security</AssemblyName>
</PropertyGroup>
<PropertyGroup>
<Authors>Carrotware</Authors>
<Company>Carrotware</Company>
<Copyright>$([System.DateTime]::Now.Year)</Copyright>
<Product>Carrot Cake CMS, built @ $([System.DateTime]::UtcNow.ToString("yyMMdd")) $([System.DateTime]::UtcNow.ToString("HH:mm"))</Product>
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>
<VersionPrefix>8.1</VersionPrefix>
<Build>$([System.DateTime]::op_Subtraction($([System.DateTime]::get_Now().get_Date()),$([System.DateTime]::new(2000,1,1))).get_TotalDays())</Build>
<Revision>$([MSBuild]::Divide($([System.DateTime]::get_Now().get_TimeOfDay().get_TotalSeconds()), 2).ToString('F0'))</Revision>
<VersionSuffix>$(Build).$(Revision)</VersionSuffix>
<AssemblyVersion>$(VersionPrefix).0.0</AssemblyVersion>
<Version>$(VersionPrefix).0.0</Version>
<FileVersion>$(VersionPrefix).$(VersionSuffix)</FileVersion>
</PropertyGroup>
<PropertyGroup>
<ResolveStaticWebAssetsInputsDependsOn>RemoveIdentityAssets</ResolveStaticWebAssetsInputsDependsOn>
</PropertyGroup>
<Target Name="RemoveIdentityAssets">
<ItemGroup>
<StaticWebAsset Remove="@(StaticWebAsset)" Condition="%(SourceId) == 'Microsoft.AspNetCore.Identity.UI'" />
</ItemGroup>
</Target>
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="7.0.18" />
<PackageReference Include="Microsoft.AspNetCore.Identity.UI" Version="8.0.4" />
<PackageReference Include="Microsoft.Data.SqlClient" Version="5.2.0" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Proxies" Version="7.0.18" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\CarrotCMSData\CMSData.csproj" />
<ProjectReference Include="..\CMSInterfaces\CMSInterfaces.csproj" />
</ItemGroup>
<ItemGroup>
<Content Update="appsettings.json">
<CopyToOutputDirectory>Never</CopyToOutputDirectory>
</Content>
</ItemGroup>
</Project>