Reputation: 4876
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?
Upvotes: 5
Views: 1071
Reputation: 4876
As Vincent mentioned, a DLL should be in a Lib folder.
Nuget Package Explorer
users should check the package via Tools/Analyze Package
Upvotes: 0
Reputation: 1477
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
Upvotes: 4