Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

nuget local package source is unable to find package

I'm trying to build some packages for use within my company. I've set up a local folder on my hard drive and added it as a package source before the official nuget source. when I execute nuget list janney, my packages are found however executing install-package janney.myfirstpackage throws an error Install-Package : Unable to find package 'Janney.MyFirstPackage'.

What am I doing wrong? Is this an indication that I've messed up my packages?

like image 476
JeffreyABecker Avatar asked Oct 19 '12 16:10

JeffreyABecker


People also ask

How do I fix a missing NuGet package?

Restore NuGet packagesNavigate to Tools > Options > NuGet Package Manager > General, and then select the Allow NuGet to download missing packages check box under Package Restore. Enabling Restore NuGet Packages. In Solution Explorer, right-click the solution, and then select Restore NuGet Packages.

Where can I find NuGet package source?

To manage your package sources, select the Settings icon or select Tools > Options. In the Options window, expand the NuGet Package Manager node and select Package Sources.

How do I fix nu1101?

Solution. Examine the project's dependencies in Visual Studio to be sure you're using the correct package identifier and version number. Also check that the NuGet configuration identifies the package sources you are expected to be using. If you use packages that have Semantic Versioning 2.0.


1 Answers

In my package manager console my package source was set to nuget rather than all

like image 60
JeffreyABecker Avatar answered Nov 26 '22 06:11

JeffreyABecker