-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDirectory.Build.props
29 lines (28 loc) · 1.6 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
<Project>
<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<OutputType>Library</OutputType>
<TargetLatestRuntimePatch>true</TargetLatestRuntimePatch>
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<LangVersion>preview</LangVersion>
<Nullable>enable</Nullable>
<NullableContextOptions>enable</NullableContextOptions>
<Deterministic>true</Deterministic>
<CodeAnalysisRuleSet>$(MSBuildThisFileDirectory)LibraryFxCopRules.ruleset</CodeAnalysisRuleSet>
<VersionSuffix Condition="'$(VersionSuffix)'==''">1</VersionSuffix>
<Version Condition="'$(Configuration)'!='Release'">99.$([System.DateTime]::Now.ToString(yyMM)).$([System.DateTime]::Now.ToString(dd)).$(VersionSuffix)</Version>
<Version Condition="'$(Configuration)'=='Release'">1.$([System.DateTime]::Now.ToString(yyMM)).$([System.DateTime]::Now.ToString(dd)).$(VersionSuffix)</Version>
<RootNamespace>BaseCap</RootNamespace>
<Product>Hosting Platform</Product>
<Authors>BaseCap Analytics Inc</Authors>
<Copyright>BaseCap Analytics Inc</Copyright>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="3.0.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
<PackageReference Include="StyleCop.Analyzers" Version="1.1.118" PrivateAssets="All" />
</ItemGroup>
</Project>