What to do if the following error occurs: “Unable to locate ‘C:\…\Visual Studio 2015\Projects\MyProject\.nuget\nuget.exe”

It may happen that downloading a package from GitHub (e.g. WpWinNl.MapBindingDemo) after compiling the solution, the dependences are resolved but still remains an error like “Unable to locate ‘C:\…\Visual Studio 2016\Projects\MyProject\.nuget\nuget.exe“. What to do?

A simple solution is to download the nuget.exe file from here e put it in the proper path where the error says it is missing. Other solutions, may be more clean but a little more complex to implement, can be found in this forum thread: Prevent needing to add NuGet.exe to source control.




Informazioni su Enzo Contini

Electronic engineer
Questa voce è stata pubblicata in Windows, Windows Phone/Mobile/Android/iOS. Contrassegna il permalink.

Lascia un Commento/Leave a comment

Inserisci i tuoi dati qui sotto o clicca su un'icona per effettuare l'accesso:

Logo WordPress.com

Stai commentando usando il tuo account WordPress.com. Chiudi sessione /  Modifica )

Google photo

Stai commentando usando il tuo account Google. Chiudi sessione /  Modifica )

Foto Twitter

Stai commentando usando il tuo account Twitter. Chiudi sessione /  Modifica )

Foto di Facebook

Stai commentando usando il tuo account Facebook. Chiudi sessione /  Modifica )

Connessione a %s...

This site uses Akismet to reduce spam. Learn how your comment data is processed.