문제

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?

도움이 되었습니까?

해결책

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

다른 팁

As Vincent mentioned, a DLL should be in a Lib folder.

Nuget Package Explorer users should check the package via Tools/Analyze Package

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top