Skip to content

Commit 431b732

Browse files
authored
Remove public API analyzer from desktop project (#5018)
1 parent cc2ce88 commit 431b732

File tree

3 files changed

+3
-12
lines changed

3 files changed

+3
-12
lines changed

src/client/Microsoft.Identity.Client.Desktop/Microsoft.Identity.Client.Desktop.csproj

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,9 @@
5151
<PackageReference Include="Microsoft.Web.WebView2" />
5252
<ProjectReference Include="..\Microsoft.Identity.Client.Broker\Microsoft.Identity.Client.Broker.csproj" />
5353
<ProjectReference Include="..\Microsoft.Identity.Client\Microsoft.Identity.Client.csproj" />
54-
</ItemGroup>
55-
56-
<ItemGroup>
57-
<AdditionalFiles Include="PublicAPI/PublicAPI.Shipped.txt" />
58-
<AdditionalFiles Include="PublicAPI/PublicAPI.Unshipped.txt" />
54+
55+
<!-- This package is being built against netcore3.1, which causes this analyzer to produce errors in MSAL netcore3.1, even though MSAL isn't built against that-->
56+
<PackageReference Remove="Microsoft.CodeAnalysis.PublicApiAnalyzers" />
5957
</ItemGroup>
6058

6159
</Project>

src/client/Microsoft.Identity.Client.Desktop/PublicApi/PublicAPI.Shipped.txt

Lines changed: 0 additions & 7 deletions
This file was deleted.

src/client/Microsoft.Identity.Client.Desktop/PublicApi/PublicAPI.Unshipped.txt

Whitespace-only changes.

0 commit comments

Comments
 (0)