NuGet packages don't install anymore
Hi guys,
I've encountered a problem when I try to install NuGet packages. It simply does not install them anymore. I'm using the nuget.org feed. It does, however, install packages from a local feed (I first download the packages manually from nuget.org). The output states that the installation is successfully...
Output Package Manager:
Installing NuGet package Elasticsearch.Net.Connection.Thrift.1.7.0.
Successfully installed 'Elasticsearch.Net.Connection.Thrift.1.7.0' to WebAPI
========== Finished ==========
PATH=.\node_modules\.bin;C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\Microsoft\Web Tools\External;%PATH%;C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\Microsoft\Web Tools\External\git
C:\Users\groeneboer\.dnx\runtimes\dnx-clr-win-x86.1.0.0-beta6\bin\dnx.exe "C:\Users\groeneboer\.dnx\runtimes\dnx-clr-win-x86.1.0.0-beta6\bin\lib\Microsoft.Framework.PackageManager\Microsoft.Framework.PackageManager.dll" restore "F:\WebAPI\src\WebAPI" -f "C:\Program Files (x86)\Microsoft Web Tools\DNU"
Microsoft .NET Development Utility CLR-x86-1.0.0-beta6-12256
Restoring packages for F:\WebAPI\src\WebAPI\project.json
Unable to locate Elasticsearch.Net.Connection.Thrift >= 1.7.0
Writing lock file F:\WebAPI\src\WebAPI\project.lock.json
Errors in F:\WebAPI\src\WebAPI\project.json
Unable to locate Elasticsearch.Net.Connection.Thrift >= 1.7.0
Restore complete, 316ms elapsed
NuGet Config files used:
C:\Users\groeneboer\AppData\Roaming\NuGet\NuGet.Config
F:\WebAPI\NuGet.Config
Feeds used:
C:\Users\groeneboer\Desktop\nugetfeed
C:\Program Files (x86)\Microsoft Web Tools\DNU
Well the output indicates both success and error. It's an unfortunate side effect of 2 different systems working together. But beyond that, which feed contains Elasticsearch.Net.Connection.Thrift? It is C:\Users\groeneboer\Desktop\nugetfeed ?
The package is in the nuget.org feed, that's where I'm getting the package from. Even if I delete the local feed it gives me the error...
But you do realized that feeds used doesn't have nuget.org right?
NuGet Config files used:
C:\Users\groeneboer\AppData\Roaming\NuGet\NuGet.Config
F:\WebAPI\NuGet.Config
Feeds used:
C:\Users\groeneboer\Desktop\nugetfeed
C:\Program Files (x86)\Microsoft Web Tools\DNU
I see, but how can I change that? Because I don't remember changing anything on which feeds should be used.
@TomGroeneboer you can run dnu feeds list to see which NuGet sources are used and which are disabled.