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

Where is an MIT-licensed Windows.Win32.winmd file? #1488

Closed
dagood opened this issue Mar 13, 2023 · 1 comment · Fixed by #1489
Closed

Where is an MIT-licensed Windows.Win32.winmd file? #1488

dagood opened this issue Mar 13, 2023 · 1 comment · Fixed by #1489

Comments

@dagood
Copy link
Member

dagood commented Mar 13, 2023

That issue was partially resolved: #766 (comment)

That directory no longer exists as of #1056, and I can't find any winmd files in the repo. Microsoft.Windows.SDK.Win32Metadata/44.0.17-preview still only contains the Windows SDK license.


I'm working on using win32metadata to generate Go's Windows syscalls, but the license is a concern:

I believe Go needs to be able to have a reproducible build without online access, so needs to have the winmd file checked into Go repositories. (Or checking in the whole nuget package, etc.) Copying the source code and building from that doesn't seem reasonable to me, given the .NET dependency.

How can Go get the artifacts in a distributable form?

@kennykerr
Copy link
Contributor

You can download the winmd files here: https://www.nuget.org/packages/Microsoft.Windows.SDK.Win32Metadata/

The nuget package is just a zip file containing the winmd files.

If you need an explicit MIT/Apache license, the windows-rs project provides a copy of the winmd files here.

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

Successfully merging a pull request may close this issue.

3 participants