Skip to content

Commit

Permalink
Remove PublicApiAnalyzer (#531)
Browse files Browse the repository at this point in the history
* Remove PublicApiAnalyzer

* Remove remaining stuff

* Remove Generate PublicAPI files task from .vscode/tasks.json

* Delete docs/public-api.md
  • Loading branch information
Alirexaa authored Mar 4, 2025
1 parent bc0969f commit 286e985
Show file tree
Hide file tree
Showing 84 changed files with 0 additions and 829 deletions.
1 change: 0 additions & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ indent_size = 2
# C# files
[*.cs]

dotnet_public_api_analyzer.require_api_files = true
#### .NET Coding Conventions ####

# Organize usings
Expand Down
6 changes: 0 additions & 6 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "Generate PublicAPI files",
"type": "shell",
"command": "echo '#nullable enable' > src/${input:projectName}/PublicAPI.Shipped.txt && echo '#nullable enable' > src/${input:projectName}/PublicAPI.Unshipped.txt",
"problemMatcher": []
},
{
"label": "build",
"command": "dotnet",
Expand Down
3 changes: 0 additions & 3 deletions Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
<Project>
<Import Project="eng\apicompat\PublicApiAnalyzer.props" />
<Import Project="eng\apicompat\PublicApiAnalyzer.targets" />

<!-- See https://aka.ms/dotnet/msbuild/customize for more details on customizing your build -->
<PropertyGroup>
Expand All @@ -22,7 +20,6 @@
<TestContainersVersion>4.2.0</TestContainersVersion>
<MEAIVersion>9.3.0-preview.1.25114.11</MEAIVersion>
<IsPackable>false</IsPackable>
<UsePublicApiAnalyzers>true</UsePublicApiAnalyzers>

<RepoRoot>$(MSBuildThisFileDirectory)</RepoRoot>
<SharedDir>$(RepoRoot)src\Shared</SharedDir>
Expand Down
1 change: 0 additions & 1 deletion Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@
</ItemGroup>

<ItemGroup Label="Build Dependencies">
<PackageVersion Include="Microsoft.CodeAnalysis.PublicApiAnalyzers" Version="3.3.4" />
<PackageVersion Include="Microsoft.DotNet.GenAPI.Task" Version="9.0.103-servicing.25065.25" />
</ItemGroup>

Expand Down
62 changes: 0 additions & 62 deletions docs/public-api.md

This file was deleted.

8 changes: 0 additions & 8 deletions eng/apicompat/PublicApiAnalyzer.props

This file was deleted.

8 changes: 0 additions & 8 deletions eng/apicompat/PublicApiAnalyzer.targets

This file was deleted.

2 changes: 0 additions & 2 deletions eng/apicompat/mark-shipped.cmd

This file was deleted.

49 changes: 0 additions & 49 deletions eng/apicompat/mark-shipped.ps1

This file was deleted.

12 changes: 0 additions & 12 deletions eng/apicompat/readme.md

This file was deleted.

1 change: 0 additions & 1 deletion examples/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

<PropertyGroup>
<TargetFramework>$(DefaultTargetFramework)</TargetFramework>
<UsePublicApiAnalyzers>false</UsePublicApiAnalyzers>
</PropertyGroup>

</Project>
14 changes: 0 additions & 14 deletions src/CommunityToolkit.Aspire.EventStore/PublicAPI.Shipped.txt

This file was deleted.

This file was deleted.

14 changes: 0 additions & 14 deletions src/CommunityToolkit.Aspire.GoFeatureFlag/PublicAPI.Shipped.txt

This file was deleted.

This file was deleted.

28 changes: 0 additions & 28 deletions src/CommunityToolkit.Aspire.Hosting.ActiveMQ/PublicAPI.Shipped.txt

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

6 changes: 0 additions & 6 deletions src/CommunityToolkit.Aspire.Hosting.Bun/PublicAPI.Shipped.txt

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 286e985

Please sign in to comment.