Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update-Mono generates invalid [Content-Types].xml #520

Closed
fasterthanlime opened this issue Dec 11, 2015 · 3 comments
Closed

Update-Mono generates invalid [Content-Types].xml #520

fasterthanlime opened this issue Dec 11, 2015 · 3 comments

Comments

@fasterthanlime
Copy link
Contributor

[Content_Types].xml

<?xml version="1.0" encoding="utf-8"?>
<Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types">
  <Default ContentType="application/vnd.openxmlformats-package.relationships+xml" Extension="rels" />
  <Default ContentType="application/octet" Extension="nuspec" />
  <Default ContentType="application/octet" Extension="bin" />
  <Default ContentType="application/octet" Extension="dll" />
  <Default ContentType="application/octet" Extension="pak" />
  <Default ContentType="application/octet" Extension="exe" />
  <Default ContentType="application/octet" Extension="dat" />
  <Default ContentType="application/octet" Extension="" />
  <Default ContentType="application/vnd.openxmlformats-package.core-properties+xml" Extension="psmdcp" />
  <Default Extension="diff" ContentType="application/octet" />
  <Default Extension="bsdiff" ContentType="application/octet" />
  <Default Extension="shasum" ContentType="text/plain" />
</Types>

See this gist for full stack trace, it's the System.Xml package complaining, while Nuget is trying to ensure we have a valid manifest.

I have no idea how it's generated, if someone knows, all help is appreciated, otherwise I'll probably keep digging tomorrow.

(My instinct is that this line (the one after 'dat') should probably just not get generated at all?)

@fasterthanlime
Copy link
Contributor Author

Disclaimer: I've built my Update-Mono on OSX (with Xamarin Studio), had to call ILRepack by hand, entirely possible that I messed something up, so, probably a good idea to reproduce with official Update-Mono.exe whenever #519 lands

@fasterthanlime
Copy link
Contributor Author

Found a similar issue: cronofy/cronofy-csharp#2

@fasterthanlime
Copy link
Contributor Author

This doesn't look like a Squirrel.Windows issue, rather it's a combination of Nuget's behavior on Windows, and grunt-electron-installer's default template.nuspec which includes extension-less files like LICENSE.

Closing to avoid clogging Squirrel.Windows issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant