mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
524c0216e4
* Update release versions * Fix versioning issue * Change ga wording to released * Update suppression file * Remove unecessary workflows suppression file * Remove another unnecessary suppression file. * Fix suppressions file
52 lines
2.1 KiB
XML
52 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>
|
|
<IsReleased>false</IsReleased>
|
|
</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>
|