Some checks are pending
CodeQL / Analyze (csharp) (push) Waiting to run
CodeQL / Analyze (python) (push) Waiting to run
dotnet-build-and-test / paths-filter (push) Waiting to run
dotnet-build-and-test / dotnet-build-and-test (Debug, windows-latest, net9.0) (push) Blocked by required conditions
dotnet-build-and-test / dotnet-build-and-test (Release, integration, true, ubuntu-latest, net10.0) (push) Blocked by required conditions
dotnet-build-and-test / dotnet-build-and-test (Release, integration, true, windows-latest, net472) (push) Blocked by required conditions
dotnet-build-and-test / dotnet-build-and-test (Release, ubuntu-latest, net8.0) (push) Blocked by required conditions
dotnet-build-and-test / dotnet-build-and-test-check (push) Blocked by required conditions
51 lines
2.1 KiB
XML
51 lines
2.1 KiB
XML
<Project>
|
|
<PropertyGroup>
|
|
<!-- Default properties inherited by all projects. Projects can override. -->
|
|
<RunAnalyzersDuringBuild>true</RunAnalyzersDuringBuild>
|
|
<EnableNETAnalyzers>true</EnableNETAnalyzers>
|
|
<AnalysisLevel>10.0-all</AnalysisLevel>
|
|
<GenerateDocumentationFile>true</GenerateDocumentationFile>
|
|
<LangVersion>latest</LangVersion>
|
|
<Nullable>enable</Nullable>
|
|
<NoWarn>$(NoWarn);NU5128;CS8002</NoWarn>
|
|
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
|
<TargetFrameworksCore>net10.0;net9.0;net8.0</TargetFrameworksCore>
|
|
<TargetFrameworks>$(TargetFrameworksCore);netstandard2.0;net472</TargetFrameworks>
|
|
<IsAotCompatible Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net7.0'))">true</IsAotCompatible>
|
|
<Configurations>Debug;Release;Publish</Configurations>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup>
|
|
<IsReleaseCandidate>false</IsReleaseCandidate>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup>
|
|
<!-- Disable NuGet packaging by default. Projects can override. -->
|
|
<IsPackable>false</IsPackable>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Configuration)'=='Publish'">
|
|
<Optimize>True</Optimize>
|
|
</PropertyGroup>
|
|
|
|
<!-- .NET Framework/.NET Standard don't properly support nullable reference types, suppress any warnings for those TFMs -->
|
|
<PropertyGroup Condition=" '$(TargetFramework)' == 'netstandard2.0' OR '$(TargetFramework)' == 'net472' ">
|
|
<NoWarn>$(NoWarn);nullable</NoWarn>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup>
|
|
<RepoRoot>$([System.IO.Path]::GetDirectoryName($([MSBuild]::GetPathOfFileAbove('CODE_OF_CONDUCT.md', '$(MSBuildThisFileDirectory)'))))</RepoRoot>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<!-- Add CLSCompliant=false to all projects by default. Projects can override. -->
|
|
<AssemblyAttribute Include="System.CLSCompliantAttribute">
|
|
<_Parameter1>false</_Parameter1>
|
|
</AssemblyAttribute>
|
|
</ItemGroup>
|
|
|
|
<!-- Common properties -->
|
|
<Import Project="$(MSBuildThisFileDirectory)\eng\MSBuild\LegacySupport.props" />
|
|
<Import Project="$(MSBuildThisFileDirectory)\eng\MSBuild\Shared.props" />
|
|
</Project>
|