From cec093775c920417cea19cbc7de739f1bdbe5dcd Mon Sep 17 00:00:00 2001 From: Stef Heyenrath Date: Mon, 9 Aug 2021 08:48:29 +0200 Subject: [PATCH] Update README.md --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) 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