-
Notifications
You must be signed in to change notification settings - Fork 1
/
Directory.Build.props
78 lines (69 loc) · 3.3 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
<Project>
<PropertyGroup>
<VersionMajor>$([System.DateTime]::UtcNow.Year)</VersionMajor>
<VersionMinor>$([System.DateTime]::UtcNow.Month)</VersionMinor>
<VersionPatch>$([System.DateTime]::UtcNow.Day)</VersionPatch>
<VersionRevision>$([System.DateTime]::UtcNow.TimeOfDay.TotalMinutes.ToString("0"))</VersionRevision>
<VersionPrefix>$(VersionMajor).$(VersionMinor).$(VersionPatch).$(VersionRevision)</VersionPrefix>
<VersionSuffix Condition="'$(Configuration)'=='Debug'">Development</VersionSuffix>
</PropertyGroup>
<PropertyGroup>
<AllowUnsafeBlocks>false</AllowUnsafeBlocks>
<AnalysisLevel>latest</AnalysisLevel>
<AnalysisMode>recommended</AnalysisMode>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<CheckForOverflowUnderflow>true</CheckForOverflowUnderflow>
<DebugType>none</DebugType>
<Deterministic>true</Deterministic>
<EnableNETAnalyzers>true</EnableNETAnalyzers>
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>
<GenerateDocumentationFile>false</GenerateDocumentationFile>
<GeneratedAssemblyInfoFile>Properties\AssemblyInfo.cs</GeneratedAssemblyInfoFile>
<ImplicitUsings>enable</ImplicitUsings>
<LangVersion>latest</LangVersion>
<NeutralLanguage>en-US</NeutralLanguage>
<Nullable>enable</Nullable>
<PlatformTarget>x64</PlatformTarget>
<Platforms>x64</Platforms>
<TargetFramework>net48</TargetFramework>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)'=='Debug'">
<DebugType>full</DebugType>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
</PropertyGroup>
<PropertyGroup Condition="!$(MSBuildProjectName.EndsWith('Tests'))" Label="Metadata">
<Authors>BoBoBaSs84</Authors>
<Company>https://github.com/BoBoBaSs84</Company>
<Copyright>Copyright © $(VersionMajor) BoBoBaSs84</Copyright>
<Description>The modification is an attempt to bring the "trade" game mechanics from Chinatown Wars to the fictional state of San Andreas.</Description>
<Product>Los.Santos.Dope.Wars</Product>
<RepositoryType>git</RepositoryType>
<RepositoryUrl>https://github.com/BoBoBaSs84/Los.Santos.Dope.Wars</RepositoryUrl>
<Title>$(AssemblyName)</Title>
</PropertyGroup>
<PropertyGroup Condition="$(MSBuildProjectName.EndsWith('Tests'))">
<IsPackable>false</IsPackable>
<IsTestProject>true</IsTestProject>
<GenerateDocumentationFile>false</GenerateDocumentationFile>
</PropertyGroup>
<ItemGroup Condition="!$(MSBuildProjectName.EndsWith('Tests'))">
<InternalsVisibleTo Include="$(AssemblyName).Tests" />
<Using Include="System.ComponentModel"/>
<Using Include="System.Drawing"/>
<Using Include="System.Reflection"/>
</ItemGroup>
<ItemGroup Condition="$(MSBuildProjectName.EndsWith('Tests'))">
<PackageReference Include="FluentAssertions" Version="7.0.0"/>
<PackageReference Include="MSTest.TestAdapter" Version="3.6.4"/>
<PackageReference Include="MSTest.TestFramework" Version="3.6.4"/>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.12.0"/>
<PackageReference Include="Moq" Version="[4.18.4]"/>
<PackageReference Include="coverlet.collector" Version="6.0.3"/>
<Using Include="Microsoft.VisualStudio.TestTools.UnitTesting" />
<Using Include="System.Diagnostics" />
<Using Include="System.Diagnostics.CodeAnalysis" />
</ItemGroup>
<ItemGroup>
<Folder Include="Properties\" />
</ItemGroup>
</Project>