forked from grpc/grpc-dotnet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Directory.Build.props
31 lines (25 loc) · 1.44 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
<Project>
<Import Project="build\sources.props" />
<Import Project="build\dependencies.props" />
<Import Project="build\version.props" />
<PropertyGroup>
<!-- Set versions for all projects. Avoids warnings from non-preview projects referencing preview projects -->
<Version>$(GrpcDotnetVersion)</Version>
<AssemblyVersion>$(GrpcDotnetAssemblyVersion)</AssemblyVersion>
<FileVersion>$(GrpcDotnetAssemblyFileVersion)</FileVersion>
<AssemblyOriginatorKeyFile>$(MSBuildThisFileDirectory)keys\Grpc.snk</AssemblyOriginatorKeyFile>
<SignAssembly>true</SignAssembly>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<CheckEolTargetFramework>false</CheckEolTargetFramework>
<SuppressNETCoreSdkPreviewMessage>true</SuppressNETCoreSdkPreviewMessage>
<!-- Don't make missing XML docs a fatal build error, but still surface so we have visibility into undocumented APIs. -->
<WarningsNotAsErrors>$(WarningsNotAsErrors);CS1591</WarningsNotAsErrors>
<!-- Ignore warning about lowercase identifiers. Caused by generated source from Protobuf. -->
<!-- TODO(JamesNK): Remove when Protobuf is updated and samples use a version of Grpc.AspNetCore that brings in Grpc.Tools 2.49.0 or later. -->
<NoWarn>$(NoWarn);CS8981</NoWarn>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<LangVersion>11.0</LangVersion>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>
</Project>