forked from temporalio/sdk-dotnet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Directory.Build.props
42 lines (39 loc) · 1.83 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
<Project>
<PropertyGroup>
<AnalysisLevel>latest</AnalysisLevel>
<AnalysisMode>AllEnabledByDefault</AnalysisMode>
<Authors>Temporal</Authors>
<EnableNETAnalyzers>true</EnableNETAnalyzers>
<!--
TODO(cretz): Reenable when https://github.com/dotnet/format/issues/1800 fixed
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
-->
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<Nullable>enable</Nullable>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<RepositoryUrl>https://github.com/temporalio/sdk-dotnet</RepositoryUrl>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<ProduceReferenceAssembly>True</ProduceReferenceAssembly>
</PropertyGroup>
<PropertyGroup>
<Version>1.3.1</Version>
<!--
.NET does not allow the above version format for AssemblyVersion, and this
is the version used in gRPC headers. The format is
"major.minor[.build[.revision]]" and they all must be integers, see
https://learn.microsoft.com/en-us/dotnet/api/system.version. So we will
always set major.minor.build to match above.
We will only set revision if it is a prerelease version or the final
release after a prerelease version. The revision must start at one. For
each prerelease version, just keep incrementing the value. For example,
0.2.0-alpha1 is 0.2.0.1, 0.2.0-alpha2 is 0.2.0.3, 0.2.0-beta1 is 0.2.0.4,
and 0.2.0 then is 0.2.0.5. But if there is no prerelease version, just
leave revision off.
-->
<AssemblyVersion>1.3.1</AssemblyVersion>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.VisualStudio.Threading.Analyzers" Version="17.4.33" PrivateAssets="all" />
<PackageReference Include="StyleCop.Analyzers" Version="1.2.0-beta.435" PrivateAssets="all" />
</ItemGroup>
</Project>