-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDirectory.Build.props
31 lines (26 loc) · 1.88 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>
<PropertyGroup>
<TreatWarningsAsErrors>True</TreatWarningsAsErrors>
<LangVersion>7.3</LangVersion>
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>$(MSBuildThisFileDirectory)/build/MSAL.snk</AssemblyOriginatorKeyFile>
<CodeAnalysisRuleSet>$(MSBuildThisFileDirectory)/build/SolutionWideAnalyzerConfig.ruleset</CodeAnalysisRuleSet>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<TargetFrameworkNetDesktop>net45</TargetFrameworkNetDesktop>
<TargetFrameworkNetStandard>netstandard2.0</TargetFrameworkNetStandard>
<TargetFrameworkNetCore>netcoreapp2.1</TargetFrameworkNetCore>
<DesktopTargetFrameworks Condition="$([MSBuild]::IsOsPlatform('Windows'))">$(TargetFrameworkNetDesktop);$(TargetFrameworkNetStandard);$(TargetFrameworkNetCore)</DesktopTargetFrameworks>
<DesktopTargetFrameworks Condition="$([MSBuild]::IsOsPlatform('OSX'))">$(TargetFrameworkNetStandard);$(TargetFrameworkNetCore)</DesktopTargetFrameworks>
<DesktopTargetFrameworks Condition="$([MSBuild]::IsOsPlatform('Linux'))">$(TargetFrameworkNetStandard);$(TargetFrameworkNetCore)</DesktopTargetFrameworks>
<WebTargetFramework>netcoreapp2.2</WebTargetFramework>
</PropertyGroup>
<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="AsyncUsageAnalyzers" Version="1.0.0-alpha003" PrivateAssets="All" />
<PackageReference Include="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="2.6.3" PrivateAssets="All" />
</ItemGroup>
</Project>