-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NuGets referenced from analyzer/source-generator should automatically include DLL's #7640
Comments
MSBuild Team Triage: It looks like there's a built in mechanism to do this. If you set property |
@benvillalobos Thanks for the reply! 🙂 I just gave
Here's an example project that reproduces the issue: https://github.com/Bosch-Eli-Black/source-generator-example I'm using VS 17.3.0 Preview 1.1 Is this something for the MSBuild team to look into, or should I file it somewhere else? |
Opened a Roslyn issue for supporting |
Let's say that my analyzer or source generator depends on the
GraphQL
NuGet:This will fail, because MSBuild won't automatically include GraphQL's DLL's, so I need to do this:
I'd like to request that when an analyzer/source-generator references a NuGet, MSBuild automatically hooks up the NuGet's DLL's 🙂
This seems to have been a source of confusion for many! See all of the comments at dotnet/roslyn#47517 🙂
P.S.
Not sure if MSBuild is the correct place to post this?
The text was updated successfully, but these errors were encountered: