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

New Post: Error during package install

$
0
0
OK, I figured it out. I was bundling a file in the package that didn't have an extension, and NuGet was putting an entry in the [Content_Types].xml file that looked like
<Default ContentType="application/octet" Extension=""/>
This looks like a bug in NuGet. At the very least, if extension-less files are invalid in a nupkg, NuGet should error out during packaging.

Viewing all articles
Browse latest Browse all 7612

Trending Articles