Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Nuget Package Explorer didnt add a *.dll (not *.Resources.dll) to references

This seems to be a simple question but i didnt find a clear answer.

After installing a package with a dll to a sample empty wp7 project, everything seems fine (dependencies are pulled correctly), but a dll itself is not added to project references. And i dont see corresponding settings in the Nuget Package Explorer.

How can i say to nuget to add a lib to references automatically?

like image 809
Vitalii Vasylenko Avatar asked Sep 30 '22 19:09

Vitalii Vasylenko


1 Answers

As said, the DLL should be placed beneath a "lib" folder inside the package (nupkg). Aside from that it's also recommended to place it in a folder like "lib\net40" if your project depends on features that are new in .NET 4.0.

For more information, read the nuget documentation

like image 59
Vincent Avatar answered Oct 03 '22 09:10

Vincent