Quantcast
Channel: WE MOVED to github.com/nuget. This site is not monitored!
Viewing all articles
Browse latest Browse all 7612

Commented Unassigned: Pack command for .csproj file doesn't add dependencies when targeting multiple frameworks [3294]

$
0
0
There is a bug pulling in dependencies when targeting multiple frameworks using the "nuget pack" command on a .csproj file. It attempts to add the packages multiple times and fails with an "Item already exists" exception.

Discussion began here: https://nuget.codeplex.com/discussions/441303

It turns out this has nothing to do with dependencies, but it had to do with the XML documentation files. The "nuget pack" command was attempting to add both __Assembly.xml__ and __Assembly.XML__ to the package and that's what was eventually causing the "Item already exists" exception.
Comments: Good catch. Will look at your request.

Viewing all articles
Browse latest Browse all 7612

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>