Skip to content

Commit

Permalink
Restore RunApiCompat in Azure.Core (#32471)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderSher authored Nov 14, 2022
1 parent edd266f commit 7ce7c69
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>$(RequiredTargetFrameworks);net6.0</TargetFrameworks>
<TargetFrameworks>$(RequiredTargetFrameworks)</TargetFrameworks>
<IncludeGeneratorSharedCode>true</IncludeGeneratorSharedCode>
</PropertyGroup>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>$(RequiredTargetFrameworks);net47;net6.0</TargetFrameworks>
<TargetFrameworks>$(RequiredTargetFrameworks);net47</TargetFrameworks>
<IncludeGeneratorSharedCode>true</IncludeGeneratorSharedCode>
<IncludeOperationsSharedSource>true</IncludeOperationsSharedSource>
</PropertyGroup>
Expand Down
2 changes: 0 additions & 2 deletions sdk/core/Azure.Core/src/Azure.Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
<Nullable>enable</Nullable>
<DefineConstants>$(DefineConstants);AZURE_NULLABLE;HAS_INTERNALS_VISIBLE_CORE</DefineConstants>
<TargetFrameworks>$(RequiredTargetFrameworks);net461;netcoreapp2.1;net5.0;net6.0</TargetFrameworks>
<!-- Remove this line when Azure.Core is released for net6.0 -->
<RunApiCompat Condition="'$(TargetFramework)' == 'net6.0'">false</RunApiCompat>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<EnableClientSdkAnalyzers>true</EnableClientSdkAnalyzers>
<EnableBannedApiAnalyzers>false</EnableBannedApiAnalyzers>
Expand Down
2 changes: 1 addition & 1 deletion sdk/core/Azure.Core/tests/Azure.Core.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<ProjectGuid>{84491222-6C36-4FA7-BBAE-1FA804129151}</ProjectGuid>
<TargetFrameworks>$(RequiredTargetFrameworks);net6.0</TargetFrameworks>
<TargetFrameworks>$(RequiredTargetFrameworks)</TargetFrameworks>
<DefineConstants>$(DefineConstants);HAS_INTERNALS_VISIBLE_CORE</DefineConstants>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<IncludeGeneratorSharedCode>true</IncludeGeneratorSharedCode>
Expand Down

0 comments on commit 7ce7c69

Please sign in to comment.