Explicit references in dependent packages not being used

Topics: General
Oct 7, 2012 at 12:16 PM

In package A, I am using the <references /> element to explicitly specify assemblies to be referenced. When adding a package reference, this works as expected.

I also have package B, which has a dependency on A.  When adding a package reference to package B, all assemblies listed in A are added as a reference. It appears that package A's <references> are being completely ignored.

Is this by design?

Oct 7, 2012 at 3:34 PM

No, it's not by design. Can you open an issue and attach the two packages for investigation?

Oct 7, 2012 at 6:57 PM
Edited Oct 7, 2012 at 7:36 PM

Will do.

Edit: Issue is here http://nuget.codeplex.com/workitem/2663