Skip to content

Commit

Permalink
add ApiCompatPreserveUnnecessarySuppressions tag
Browse files Browse the repository at this point in the history
  • Loading branch information
YuliiaKovalova committed Sep 25, 2023
1 parent 5bebe18 commit a8c0ca2
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Framework/Microsoft.Build.Framework.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@
<PackageReference Include="Microsoft.Win32.Registry" />
</ItemGroup>

<PropertyGroup>
<ApiCompatPreserveUnnecessarySuppressions>true</ApiCompatPreserveUnnecessarySuppressions>
<ApiCompatPermitUnnecessarySuppressions>true</ApiCompatPermitUnnecessarySuppressions>
</PropertyGroup>

<ItemGroup>
<Compile Include="..\Shared\Constants.cs">
<Link>Shared\Constants.cs</Link>
Expand Down
5 changes: 5 additions & 0 deletions src/Tasks/Microsoft.Build.Tasks.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@
<EnablePackageValidation>true</EnablePackageValidation>
</PropertyGroup>

<PropertyGroup>
<ApiCompatPreserveUnnecessarySuppressions>true</ApiCompatPreserveUnnecessarySuppressions>
<ApiCompatPermitUnnecessarySuppressions>true</ApiCompatPermitUnnecessarySuppressions>
</PropertyGroup>

<ItemGroup>
<EmbeddedResource Include="system.design\system.design.txt">
<Type>Resx</Type>
Expand Down
5 changes: 5 additions & 0 deletions src/Utilities/Microsoft.Build.Utilities.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@
<EnablePackageValidation>true</EnablePackageValidation>
</PropertyGroup>

<PropertyGroup>
<ApiCompatPreserveUnnecessarySuppressions>true</ApiCompatPreserveUnnecessarySuppressions>
<ApiCompatPermitUnnecessarySuppressions>true</ApiCompatPermitUnnecessarySuppressions>
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\Framework\Microsoft.Build.Framework.csproj" />
<ProjectReference Include="..\StringTools\StringTools.csproj" />
Expand Down

0 comments on commit a8c0ca2

Please sign in to comment.