Nuget adds ref to AutoDiff and AutoDiff.Contracts



I downloaded AutoDiff via Nuget. But the way references are added the project can't be compiled, I first had to remove AutoDiff.Contracts.dll from the references, then it worked.

So the nuget package should probably right away not add a ref to the contracts dll.
Closed Nov 5, 2011 at 12:53 PM by


alexshtf wrote Jun 25, 2011 at 5:06 AM

It's a problem with NuGet. As far as I know they always add references to all assemblies. If you know otherwise please comment and I will gladly fix it.

alexshtf wrote Jun 25, 2011 at 5:16 AM

After digging a bit - it seems that this feature is planned for NuGet 1.6. It will take some time :/

davidacoder wrote Jun 25, 2011 at 5:25 PM

Ok, not a big problem. Maybe one could mention this in a readme/somewhere on the website?

alexshtf wrote Jun 25, 2011 at 6:26 PM

I mentioned on the home page. Hope it's good enough.

davidacoder wrote Sep 29, 2011 at 5:50 PM

I believe the current NuGet now has a fix for this, so maybe the next release can use the new NuGet feature?

alexshtf wrote Oct 30, 2011 at 11:47 PM

I don't believe so. We can add a content folder, but as long as the relative position of the contracts assembly is not correct, VS will not verify the contracts.

wrote Nov 5, 2011 at 12:53 PM

Resolved with changeset 14387.

wrote Nov 5, 2011 at 12:56 PM

Associated with changeset 14388.