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

Cannot consume NuGet packages from Team Foundation Server 2017 private feed #2138

Closed
drwatson1 opened this issue Feb 8, 2017 · 5 comments

Comments

@drwatson1
Copy link
Contributor

drwatson1 commented Feb 8, 2017

Description

I have TFS 2017 with a private feed for internal use. For NuGet.org it works fine, but I can't use my own packages from our internal TFS server with the error:

Paket failed with:
There was a version conflict during package resolution.
Could not resolve package GeoCybernetica.Dal:

  • Dependencies file requested package GeoCybernetica.Dal: >= 0
  • Available versions:
    • (1.1.0.52, [http://tfs.geobuilder.ru:8080/tfs/DefaultCollection/_packaging/default/nuget/v3/index.json])
    • (1.1.0.51, [http://tfs.geobuilder.ru:8080/tfs/DefaultCollection/_packaging/default/nuget/v3/index.json])
    • (1.1.0.50, [http://tfs.geobuilder.ru:8080/tfs/DefaultCollection/_packaging/default/nuget/v3/index.json])
    • (1.1.0.49, [http://tfs.geobuilder.ru:8080/tfs/DefaultCollection/_packaging/default/nuget/v3/index.json])

and so on...

Repro steps

  1. Create the file paket.dependencies with the following content:
source https://nuget.org/api/v2
source http://tfs.geobuilder.ru:8080/tfs/DefaultCollection/_packaging/default/nuget/v3/index.json username: "***" password: "***"

nuget GeoCybernetica.Dal 

I can send username and password to reproduce.

2. Execute .paket/paket.exe install

Expected behavior

The package is installed successfully

Actual behavior

Get an error as described above. 

Known workarounds

Unknown

@drwatson1
Copy link
Contributor Author

I've got the following error in verbose mode:

`found:somepath\paket.dependencies
Parsing somepath\paket.dependencies
Resolving packages for group Main:
0 packages in resolution. 1 requirements left
Trying to resolve GeoCybernetica.DataContracts >= 1.1.0.51 (fromsomepath\paket.dependencies)

But the package is available, of course

@forki
Copy link
Member

forki commented Feb 16, 2017

mmm can you try to use the v2 endpoint?

@drwatson1
Copy link
Contributor Author

drwatson1 commented Feb 16, 2017

No, I can't. There is v3 only

@forki
Copy link
Member

forki commented Feb 16, 2017

sforkmann @ gmail if you want to send me login

@drwatson1
Copy link
Contributor Author

I sent

drwatson1 added a commit to drwatson1/Paket that referenced this issue Feb 17, 2017
@forki forki closed this as completed in 55be91a Feb 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants