fsprojects / Paket

A dependency manager for .NET with support for NuGet packages and Git repositories.
https://fsprojects.github.io/Paket/
MIT License
2.02k stars 525 forks source link

We have binding redirects for nunit in Paket console application #806

Closed theimowski closed 9 years ago

theimowski commented 9 years ago

while we don't have them for Paket.Tests project - does the --redirects option for paket install handle different packages in different projects?

/cc @isaacabraham

isaacabraham commented 9 years ago

It is pretty crude, as far as I remember it just supplies the redirects for all packages across all projects. Even if the project doesn't use a specific redirect (this is harmless though).

However, if there is no config file in the tests project you must create one first - the BR code won't do that automatically.


From: Tomasz Heimowskimailto:notifications@github.com Sent: ‎01/‎05/‎2015 08:29 To: fsprojects/Paketmailto:Paket@noreply.github.com Cc: Isaac Abrahammailto:isaac.abraham@gmail.com Subject: [Paket] We have binding redirects for nunit in Paket console application (#806)

while we don't have them for Paket.Tests project - does the --redirects option for paket install handle different packages in different projects?

/cc @isaacabraham


Reply to this email directly or view it on GitHub: https://github.com/fsprojects/Paket/issues/806

theimowski commented 9 years ago

I see, maybe we could, as an enhancement, create new app.config file, as well as limit the redirects to the ones referenced by project only?

isaacabraham commented 9 years ago

yes, could do both - can you create issues for both of them?

The first one does make me think though how we would identify this though e.g. create .config for every .csproj / .vbproj / .fsproj? Only exes? websites? etc. etc.?

The second one is definitely doable, probably just a bit of work to expand the current code to supply a different set of BRs for each project.

theimowski commented 9 years ago

ok closing this in favor of the new ones