0

As the title says, I'm not able to compile a solution because of a missing package

I did some search but that didn't helped (unfortunally)

How to download a Nuget package without nuget.exe or Visual Studio extension?

Can't build solution because of missing NuGet references

Part of the output from the console:

F:\Riot Games\tool\Poro-master\Poro\PoroLib\PoroLib.csproj(168,5): error : This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is ..\packages\System.Data.SQLite.Core.1.0.94.0\build\net45\System.Data.SQLite.Core.targets. 

I need help to download that specific package and the internet confuses me, I mean x Person tells me to go x and z Person tells me to go z

I.. dunno what to do..

2

1 Answer 1

0

First of all, check if your Visual Studio is configured to restore packages. From VS top menu: Tools -> Nuget Package Manger -> Package Manger Settings ensure that first two checkboxes are ticked: Nuget options

If the above doesn't work check if a firewall is blocking VS access to internet. If not, download your package manually from this link and add it your project locally:

  1. From VS top menu: Tools -> Nuget Package Manger -> Package Manger Settings
  2. Choose Package Sources from left
  3. Add a new item.
  4. Provide a name and a location ( the folder in which your downloaded package resides )
  5. Don't forget to press Update button ( a bug in VS)
  6. Right click on your project and `Manage NuGet Packages)
  7. Choose your new source from top right
  8. Click Browse. Your package is there.
Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.