Generates a C# skeleton of the public API of a project from its .csproj, using Roslyn.
dotnet run --project src/Avalonia.PublicApiExtractor -- [--no-docs] [--no-properties-first] [csprojPath] [outputPath]csprojPath: defaults to the only*.csprojin the current directory.outputPath: defaults topublic-api-skeleton.csin the nearestartifacts/folder above the csproj, or next to the csproj if there is none.--no-docs: omit XML doc comments, which are included by default.--no-properties-first: sort members by signature. By default, properties come first and the remaining members follow in alphabetical order by name.
Run the tests:
dotnet test --solution Avalonia.PublicApiExtractor.slnxTo install as a global tool:
dotnet pack src/Avalonia.PublicApiExtractor -o artifacts/nupkg
dotnet tool install -g Avalonia.PublicApiExtractor --add-source artifacts/nupkg
avalonia-public-api-extractor path/to/Project.csproj