Dominik G Dominik G - 1 year ago 83
C# Question

Assembly visible in Package Explorer but not referenced when installed

I am creating a NuGet package from one of my projects using


When I check the nupkg afterwards with the NuGet Package Explorer I see all referenced libraries inside the lib folder.

After installing the package in another project one of the before mentioned projects is not referenced.

I don't get any error messages when installing or packaging. Does anyone have an idea, what might cause this or is there a way to debug it somehow?

The Nuget package is hosted in our Team Services repository.

Answer Source

I found the answer. The problem was that the assembly name was ending with .Resources for some reason .Net or Visual Studio or NuGet can't handle that.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download