fsprojects / Paket.VisualStudio

Manage your Paket (http://fsprojects.github.io/Paket/) dependencies from Visual Studio!
MIT License
147 stars 51 forks source link

Failing to get nuget from correct source during update #101

Closed tsibelman closed 8 years ago

tsibelman commented 8 years ago

In my paket.dependencies I have following:

source http://build1:8091/nuget source https://www.nuget.org/api/v2/

framework: net451 redirects: on

nuget Newtonsoft.Json ~> 8.0 >= 8.0.2

When I trying to update it from visual studio I get following error

Could not resolve package Newtonsoft.Json:

For some reason it searching only in my custom nuget server build1:8091 When I run paket update from command line it works fine.

I using latest version for both tools

forki commented 8 years ago

Can you please run "paket clear-cache" and try again? On Feb 14, 2016 4:12 PM, "tsibelman" notifications@github.com wrote:

In my paket.dependencies I have following:

source http://build1:8091/nuget source https://www.nuget.org/api/v2/

framework: net451 redirects: on

nuget Newtonsoft.Json ~> 8.0 >= 8.0.2

When I trying to update it from visual studio I get following error

Could not resolve package Newtonsoft.Json:

For some reason it searching only in my custom nuget server build1:8091 When I run paket update from command line it works fine.

I using latest version for both tools

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

tsibelman commented 8 years ago

Yes it worked. But why is behaved differently for command line ?

forki commented 8 years ago

I have no idea. Should have done the same thing. On Feb 14, 2016 4:19 PM, "tsibelman" notifications@github.com wrote:

Yes it worked. But why is behaved differently for command line ?

— Reply to this email directly or view it on GitHub https://github.com/fsprojects/Paket.VisualStudio/issues/101#issuecomment-183904589 .

tsibelman commented 8 years ago

Where cache is stored ?

forki commented 8 years ago

In the same folder as nuget. On Feb 14, 2016 4:21 PM, "tsibelman" notifications@github.com wrote:

Where cache is stored ?

— Reply to this email directly or view it on GitHub https://github.com/fsprojects/Paket.VisualStudio/issues/101#issuecomment-183904845 .