Skip to content

Add a package README for ClangSharpPInvokeGenerator#746

Merged
tannergooding merged 1 commit into
dotnet:mainfrom
tannergooding:tannergooding-docs-improve-generator-readme
Jul 13, 2026
Merged

Add a package README for ClangSharpPInvokeGenerator#746
tannergooding merged 1 commit into
dotnet:mainfrom
tannergooding:tannergooding-docs-improve-generator-readme

Conversation

@tannergooding

Copy link
Copy Markdown
Member

The NuGet package page for ClangSharpPInvokeGenerator previously fell back to the shared package description with no usage guidance. Add a dedicated package README covering what the tool does (generates C#/.NET P/Invoke bindings from C/C++ headers via libclang), how to install and run it as a .NET tool, minimal -f/-n/-o and response-file examples, and pointers to --help/-c help and the repo docs. Wired up via <PackageReadmeFile> + a packed <None Include="README.md" ... /> (no prior PackageReadmeFile pattern existed in the repo, so this follows the standard NuGet convention).

Content is verified against the root README and the actual CLI options; the full options table is intentionally not duplicated -- it links to the canonical repo docs instead.

dotnet restore on the csproj succeeds.

Fixes #686

The NuGet package page previously fell back to the description with no
usage guidance. Add a dedicated package README covering what the tool
does, how to install and run it as a .NET tool, and where to find the
full option list and docs, wired up via PackageReadmeFile.

Fixes dotnet#686

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@tannergooding tannergooding merged commit 84ec80c into dotnet:main Jul 13, 2026
14 checks passed
@tannergooding tannergooding deleted the tannergooding-docs-improve-generator-readme branch July 13, 2026 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve the README for the ClangSharpPInvokeGenerator package

1 participant