-
Notifications
You must be signed in to change notification settings - Fork 146
/
Directory.Build.props
49 lines (40 loc) · 1.72 KB
/
Directory.Build.props
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
<?xml version="1.0" encoding="utf-8"?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="DeploymentSettings.props" />
<PropertyGroup>
<Company>Clean Architecture</Company>
<Authors>$(Company)</Authors>
<Copyright>Copyright © $(Company) $([System.DateTime]::Now.Year)</Copyright>
<Trademark>$(Company)™</Trademark>
<Product>$(Company) Projects</Product>
</PropertyGroup>
<PropertyGroup>
<LangVersion>latest</LangVersion>
<NoWarn>1591;1701;1702;8032;NU1701;AD0001</NoWarn>
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
<Deterministic>true</Deterministic>
</PropertyGroup>
<ItemGroup>
<None Include="content\*" Pack="true" PackagePath="content" />
<None Include="build\*" Pack="true" PackagePath="build" />
<None Include="lib\*" Pack="true" PackagePath="lib" />
</ItemGroup>
<ItemGroup Condition="Exists('$(MSBuildProjectDirectory)\xunit.runner.json')">
<None Update="xunit.runner.json" CopyToOutputDirectory="PreserveNewest" />
</ItemGroup>
<ItemGroup Condition="'$(WebProjectMode)' == 'true'">
<Content Update="wwwroot\**\*;Views\**\*;Areas\**\Views;appsettings.json;web.config">
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
</Content>
<DotNetCliToolReference Include="BundlerMinifier.Core" Version="2.8.391" />
<Content Update="Pages\_ViewImports.cshtml">
<Pack>$(IncludeRazorContentInPack)</Pack>
</Content>
<Content Update="Pages\_ViewStart.cshtml">
<Pack>$(IncludeRazorContentInPack)</Pack>
</Content>
</ItemGroup>
<PropertyGroup Condition="'$(TestProjectMode)' == 'true'">
<IsPackable>false</IsPackable>
</PropertyGroup>
</Project>