-
-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
How to Use AutoSDK as source generator #46
Comments
You need to use <PackageReference Include="AutoSDK.SourceGenerators" Version="0.24.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference> instead <PackageReference Include="AutoSDK" Version="0.24.0" /> |
Thanks @HavenDV , The source generator is corrected added by updating the reference package to |
This is how I refer
AutoSDK
from my.csproj
fileAnd I expected to see
WebAPI.Generated.OpenAI
get generated from AutoSDK, but found nothing in analyzer node.Do I need any extra setup before using AutoSDK as source generator?
The text was updated successfully, but these errors were encountered: