-
Notifications
You must be signed in to change notification settings - Fork 343
/
Directory.Build.props
32 lines (29 loc) · 1.47 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
<Project>
<PropertyGroup>
<LangVersion>latest</LangVersion>
<!-- This is strong naming, not signing-->
<SignAssembly>true</SignAssembly>
<!-- The MSAL.snk has both private and public keys -->
<AssemblyOriginatorKeyFile>$(MSBuildThisFileDirectory)/build/MSAL.snk</AssemblyOriginatorKeyFile>
<DelaySign>false</DelaySign>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<!-- Projects must set this individually -->
<IsPackable>false</IsPackable>
</PropertyGroup>
<PropertyGroup Label="For CI build" Condition="'$(TF_BUILD)' == 'true'">
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
</PropertyGroup>
<ItemGroup Label="For CI build">
<!-- defines repository top level dir-->
<SourceRoot Include="$(MSBuildThisFileDirectory)/"/>
</ItemGroup>
<ItemGroup>
<!-- PrivateAssets="All" is on these packages to ensure they're development dependencies
and aren't included as transitionary dependencies to package consumers.
For clarity, without PrivateAssets marked here, anyone consuming Microsoft.Identity.Client
would also be forced to install these dependencies. PrivateAssets avoids this problem. -->
<PackageReference Include="Microsoft.VisualStudio.Threading.Analyzers" PrivateAssets="All" />
<PackageReference Include="Microsoft.CodeAnalysis.NetAnalyzers" PrivateAssets="All" />
</ItemGroup>
</Project>