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

Override 'copy_local' in 'paket.dependencies' with values from 'paket.references' in projects #836

Closed
WebDucer opened this issue May 22, 2015 · 5 comments
Labels

Comments

@WebDucer
Copy link

Helo.

We often build all projects of a solution to a common output directory. So we would like not to copy the nuget references with every project again and again.

So we deactivate 'Copy Local' by default in our projects. Only the project that has the major use of the package, set 'Copy Local' to true (in most cases the the adapter/proxy project).

I tried to rebuild this behaviour with paket, but without success.

In paket.dependecies is copy_local set to false. In the adapter project one of the nuget references in paket.references is set with copy_local to true. In all projects 'Copy Local' is set to false.

paket.dependencies

source http://localhost:8081/nexus/service/local/nuget/NugetPublic/  // Nexus

framework: net45
copy_local: false

# Libraries
nuget Prism ~> 5.0
nuget Prism.PubSubEvents ~> 1.0
nuget Prism.UnityExtensions ~> 5.0

paket.references

Prism.PubSubEvents copy_local: true
@forki forki added the bug label May 23, 2015
@forki forki closed this as completed in 3d73f90 May 23, 2015
@forki
Copy link
Member

forki commented May 23, 2015

please try 1.5.1 - I still have to cleanup the mess I did with the commit, but I want to get feedback if it works.

forki added a commit that referenced this issue May 23, 2015
@WebDucer
Copy link
Author

Helo.

I tested with the version 1.5.6 today. It doesn't work for me. As soon as I declare copy_local:false in paket.dependecies the flag is FALSE in all projects, no matter if the reference in paket.references is set to TRUE.

@forki
Copy link
Member

forki commented May 26, 2015

Ok will check again
On May 26, 2015 7:10 AM, "Eugen Richter" [email protected] wrote:

Helo.

I tested with the version 1.5.6 today. It doesn't work for me. As soon as
I declare copy_local:false in paket.dependecies the flag is FALSE in all
projects, no matter if the reference in paket.references is set to TRUE.


Reply to this email directly or view it on GitHub
#836 (comment).

@forki
Copy link
Member

forki commented May 26, 2015

Oups that helped me to discover a bigger issue. Thanks for reporting.
It works for me now with 1.6 when I do "paket install"
On May 26, 2015 7:24 AM, "Steffen Forkmann" [email protected] wrote:

Ok will check again
On May 26, 2015 7:10 AM, "Eugen Richter" [email protected] wrote:

Helo.

I tested with the version 1.5.6 today. It doesn't work for me. As soon as
I declare copy_local:false in paket.dependecies the flag is FALSE in all
projects, no matter if the reference in paket.references is set to TRUE.


Reply to this email directly or view it on GitHub
#836 (comment).

@WebDucer
Copy link
Author

Now it works! Tested today with 1.6.2.

Thanks a lot.

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

No branches or pull requests

2 participants