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

BindingRedirects in paket reference? #958

Closed
TWith2Sugars opened this issue Aug 4, 2015 · 9 comments
Closed

BindingRedirects in paket reference? #958

TWith2Sugars opened this issue Aug 4, 2015 · 9 comments

Comments

@TWith2Sugars
Copy link
Contributor

It would be nice to say which projects the generated redirects get applied to.

@isaacabraham
Copy link
Contributor

That's a good idea. Currently it just blindly goes across every project. Perhaps this could be added to the paket.references file?

@TWith2Sugars
Copy link
Contributor Author

That was my thinking, currently I use the auto generate *proj attribute for most projects. It's the web.config I want to transform.

@forki
Copy link
Member

forki commented Aug 4, 2015

yes a switch in references file could be a nice way.

@isaacabraham
Copy link
Contributor

Should the default be to assume "yes" and turn off in a specific .references file? e.g. solution with five projects. I want dependency redirected in 2 of those projects. Do you have in the references file that the redirect is "ON" in the files you want (and thus don't specify it in the dependencies file) or mark it in the dependencies file and then exclude from the other three projects?

@TWith2Sugars
Copy link
Contributor Author

How about an extra option:

"some" or something like that which would let us choose which projects to generate the binding redirects.

This would mean existing Paket.dependencies file would be compatible.

@isaacabraham
Copy link
Contributor

Don't understand 😊 example please


From: Tony Williamsmailto:[email protected]
Sent: ‎03/‎09/‎2015 15:58
To: fsprojects/Paketmailto:[email protected]
Cc: Isaac Abrahammailto:[email protected]
Subject: Re: [Paket] BindingRedirects in paket reference? (#958)

How about an extra option:

"some" or something like that which would let us choose which projects to generate the binding redirects.

This would mean existing Paket.dependencies file would be compatible.


Reply to this email directly or view it on GitHub:
#958 (comment)

@TWith2Sugars
Copy link
Contributor Author

in paket.dependecies we could have

  • redirect: on - Standard Behaviour
  • redirect: some - Apply redirect only to reference files that have redirect in them

Something like that?

@isaacabraham
Copy link
Contributor

Linked to #808 - adding this could solve the "what is a unit test project?" problem.

@forki forki closed this as completed Apr 6, 2016
@forki
Copy link
Member

forki commented Apr 6, 2016

you can set redirects from references files

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