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.

😉

 

 

Pubblicità

Informazioni su Enzo Contini

Electronic engineer
Questa voce è stata pubblicata in Smartphone OS, Windows. 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 di WordPress.com

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

Foto di Facebook

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

Connessione a %s...

Questo sito utilizza Akismet per ridurre lo spam. Scopri come vengono elaborati i dati derivati dai commenti.