diff --git a/README.md b/README.md index ea1cd07..580392f 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,17 @@ Or via the Visual Studio NuGet package manager or if you use the `dotnet` comman `dotnet add package ProxyInterfaceGenerator` +#### :pencil2: Using in a Library project +When you use this Source Generator as a package reference in your library project, make sure that you define this NuGet package as a Private Asset (``) and define the correct ``. This is needed to indicate that this dependency is purely used as a development dependency and that you don’t want to expose that to projects that will consume your package. + +``` xml + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + +``` + ## Usage ### Given: an external existing class which does not implement an interface