-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Feature request: DisableImplicitTransitiveReferences #1750
Comments
This is a good idea. The name works for me too. |
Also there's little control over whether the assets "inherited" transitively will get copied to output or not. See this issue for details: NuGet/Home#5986 |
jaredpar
added a commit
to jaredpar/sdk
that referenced
this issue
Nov 16, 2017
This implements the feature described in dotnet#1750. It provides projects with a way to explicitly opt-out of implicit transitive refernces by setting the DisableImplicitTransitiveReferences property to `'true'`. closes dotnet#1750
This was referenced Nov 16, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Implicit transitive references is a neat feature and definitely a benefit for the vast majority of projects out there. The feature is not free though and trying to enable it on dotnet/roslyn has caused me no end of headaches. In particular:
To work around this I think the SDK should support the ability to opt out of implicit transitive references.
This will make it significantly easier to adopt the SDK into existing projects.
Note: I'm aware you can unofficially disable this today by overriding the
"IncludeTransitiveProjectReferences"
target. That work around is unsupported and simply can't be done when using the new MSBuild file format + directory build props / targets.The text was updated successfully, but these errors were encountered: