Create NuGet with Metalama
With source generators I have to add some MSBuild configuration, but with Metalama it seems I don't need it.
My goal is to create a fabric that detects classes inheriting from
Then I'll publish a NuGet to nuget.org, and when I create it (dotnet build & pack), I'll pass the license key with an envinroment variable to MSBuild.
And... just that? Will library users have to specify a license key? Do I have to publish the NuGet as an analyzer? Anything? Will they have Metalama code generation out-of-the-box inheriting from
Thanks!
My goal is to create a fabric that detects classes inheriting from
BusinessException, and then apply an attribute/aspect to it, generating code.Then I'll publish a NuGet to nuget.org, and when I create it (dotnet build & pack), I'll pass the license key with an envinroment variable to MSBuild.
And... just that? Will library users have to specify a license key? Do I have to publish the NuGet as an analyzer? Anything? Will they have Metalama code generation out-of-the-box inheriting from
BusinessException?Thanks!
