2020-06-03 19:12:48 +03:00
<!-- Licensed to the .NET Foundation under one or more agreements. The .NET Foundation licenses this file to you under the MIT license. See the LICENSE file in the project root for more information. -->
2022-05-05 18:37:34 +03:00
<Project>
2020-06-03 19:12:48 +03:00
<PropertyGroup>
<NoWarn>$(NoWarn);NU5125;NU3005</NoWarn>
2020-10-05 18:52:06 +03:00
<CheckEolTargetFramework>false</CheckEolTargetFramework>
2020-06-03 19:12:48 +03:00
<!-- Opt-out repo features -->
<UsingToolXliff>false</UsingToolXliff>
</PropertyGroup>
2022-05-05 18:37:34 +03:00
<Import Project="$([MSBuild]::GetPathOfFileAbove('Directory.Build.props', '$(MSBuildThisFileDirectory)../'))" />
2020-06-03 19:12:48 +03:00
<PropertyGroup>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<GenerateBindingRedirectsOutputType>true</GenerateBindingRedirectsOutputType>
</PropertyGroup>
<Choose>
<When Condition="'$(Language)' == 'VB'">
<PropertyGroup>
2021-01-27 05:34:09 +03:00
<LangVersion>16</LangVersion>
2020-06-03 19:12:48 +03:00
</PropertyGroup>
</When>
<When Condition="'$(Language)' == 'C#'">
<PropertyGroup>
2021-01-27 05:34:09 +03:00
<LangVersion>9</LangVersion>
2020-06-03 19:12:48 +03:00
</PropertyGroup>
<!-- Nullable reference types -->
<PropertyGroup>
<Nullable>enable</Nullable>
</PropertyGroup>
</When>
</Choose>
<!-- StyleCop Analyzers configuration -->
<PropertyGroup>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="StyleCop.Analyzers" Version="$(StyleCopAnalyzersVersion)" PrivateAssets="all" />
<AdditionalFiles Include="$(MSBuildThisFileDirectory)..\..\stylecop.json" Link="stylecop.json" />
<None Include="$(CodeAnalysisRuleSet)" Condition="'$(CodeAnalysisRuleSet)' != ''" Link="%(Filename)%(Extension)" />
</ItemGroup>
</Project>