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

Adding package when sources are splitted (command line or UI) #137

Closed
SuperRoflCopter opened this issue Mar 10, 2017 · 3 comments
Closed
Labels

Comments

@SuperRoflCopter
Copy link

SuperRoflCopter commented Mar 10, 2017

I've noticed an issue when adding package to a project via "paket add" command line or "Add Package" interface.

When your dependencies file look like this :

source https://www.nuget.org/api/v2/

nuget nuget1
nuget nuget2

source https://InternalRepository

nuget nuget3

If you try adding a package from the "InternalRepository" you'll get the following error message :
image

A possible fix would be to be able to target a specific source, or for the paket add command to add the package at the right place in the dependencies file depending on the source of the package.

..or not splitting the packages by sources.. but it is faster that way. :)

@SuperRoflCopter SuperRoflCopter changed the title Adding package when source are splitted (command line or UI) Adding package when sources are splitted (command line or UI) Mar 10, 2017
@forki
Copy link
Member

forki commented Mar 11, 2017 via email

@SuperRoflCopter
Copy link
Author

SuperRoflCopter commented Mar 13, 2017

You can use this case for example (random public feed) :

framework: net451

source https://www.nuget.org/api/v2/

nuget Unity 2.1.505.2
nuget Unity.Interception 2.1.505.2
nuget Newtonsoft.Json 7.0.1

source https://sitecore.myget.org/F/sc-packages/

nuget CRMSecurityProvider
nuget Data-Exchange-Framework

Try add this package from https://sitecore.myget.org/F/sc-packages/ repo :
Data-Exchange-Framework-Remote-SDK

(paket add nuget Data-Exchange-Framework-Remote-SDK)

And I get the following error :
image

@SuperRoflCopter
Copy link
Author

Thanks for the quick fix.
Everything seems fine for both (command line and visual studio)

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