Skip to content
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

Allow to opt-out of targets import #615

Closed
forki opened this issue Feb 17, 2015 · 4 comments
Closed

Allow to opt-out of targets import #615

forki opened this issue Feb 17, 2015 · 4 comments

Comments

@forki
Copy link
Member

forki commented Feb 17, 2015

@ctaggart suggested we add a way to opt-out of targets import like in #574

in #604 (comment) he proposed the syntax for `paket.dependencies:

nuget Foobar 1.2.3 framework: net20 net35, autoimport: false

I don't really like the name autoimport. How about import_targets: false

/cc @agross

@agross
Copy link
Contributor

agross commented Feb 17, 2015

import_targets is better. autoimport sounds like some magical thing will (not) happen. I don't like magic in code.

@ctaggart
Copy link
Contributor

That is fine. Just note that it is .props too, just not .targets. The original feature called: Automatic import of msbuild targets and props files. http://docs.nuget.org/Release-Notes/NuGet-2.5

@forki
Copy link
Member Author

forki commented Feb 17, 2015

I started by adding this switch to the paket.references file. see also http://fsprojects.github.io/Paket/references-files.html#import_targets-settings

@forki
Copy link
Member Author

forki commented Feb 17, 2015

bringing this into paket.dependencies is now part of #587

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants