I have a local Nuget package that I am attempting to install. Everything runs fine with no specific errors I can see, but about 1/2 of the tasks that need to be completed for the install don't seem to happen or do anything.
I have NuGet Package Explorer and I can fix the install if I know where to start. Does NuGet create an error log file someplace when it does an install and where would I find it?
Thanks for the help. Doug
NuGet creates a subfolder for each package identifier, then creates subfolders for each installed version of the package. NuGet installs package dependencies as required. This process might update package versions in the process, as described in Dependency Resolution.
Put simply, a NuGet package is a single ZIP file with the . nupkg extension that contains compiled code (DLLs), other files related to that code, and a descriptive manifest that includes information like the package's version number.
How do I check the exact version of the NuGet tools that are installed? In Visual Studio, use the Help > About Microsoft Visual Studio command and look at the version displayed next to NuGet Package Manager.
Use the Package Manager Console
to execute the install step. Log output is provided there.
Make sure that you select your Package source
if you are installing from a local package.
Example output for a failed nuspec project below:
PM> Install-Package MyTestPackage
Successfully installed 'MyTestPackage 0.0.1.4'.
Successfully added 'MyTestPackage 0.0.1.4' to Test_Project.
Missing expression after unary operator '!'.
PM>
Example output with verbose logging below:
PM> Install-Package ClearlyDoesNotExistYet -Verbose
GET https://www.nuget.org/api/v2/FindPackagesById()?id='ClearlyDoesNotExistYet'
OK https://www.nuget.org/api/v2/FindPackagesById()?id='ClearlyDoesNotExistYet' 220ms
Install-Package : Unable to find package 'ClearlyDoesNotExistYet'
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With