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

AS_ANY_TYPE contains enum value with no name #360

Closed
AArnott opened this issue Mar 16, 2021 · 8 comments
Closed

AS_ANY_TYPE contains enum value with no name #360

AArnott opened this issue Mar 16, 2021 · 8 comments
Labels
blocking A projection cannot use the latest version

Comments

@AArnott
Copy link
Member

AArnott commented Mar 16, 2021

public enum AS_ANY_TYPE : uint
{
	ASN_INTEGER = 2u,
	ASN_INTEGER32 = 2u,
	ASN_UNSIGNED32 = 71u,
	ASN_COUNTER64 = 70u,
	ASN_OCTETSTRING = 4u,
	ASN_BITS = 3u,
	ASN_OBJECTIDENTIFIER = 6u,
	ASN_SEQUENCE = 48u,
	 = 49u,
	ASN_IPADDRESS = 0x40u,
	ASN_COUNTER32 = 65u,
	ASN_GAUGE32 = 66u,
	ASN_TIMETICKS = 67u,
	ASN_OPAQUE = 68u,
	SNMP_EXCEPTION_NOSUCHOBJECT = 0x80u,
	SNMP_EXCEPTION_NOSUCHINSTANCE = 129u,
	SNMP_EXCEPTION_ENDOFMIBVIEW = 130u
}
@AArnott AArnott added the blocking A projection cannot use the latest version label Mar 16, 2021
@kennykerr
Copy link
Contributor

Is there a build with this fix available?

@AArnott
Copy link
Member Author

AArnott commented Mar 19, 2021

Yes, @kennykerr, this was fixed for https://www.nuget.org/packages/Microsoft.Windows.SDK.Win32Metadata/10.0.19041.5-preview.68

@kennykerr
Copy link
Contributor

Thanks! Unfortunately 68 is unusable (for me) due to #373. It doesn't look like there's yet a build for that.

@sotteson1
Copy link
Contributor

75 just came out with a fix for both. Let me know if you run into issues. I'm about to leave town for a day but I'll keep on eye on how things are going.

@kennykerr
Copy link
Contributor

And just like that it appears. Thanks @sotteson1!

@kennykerr
Copy link
Contributor

That build looks great. Tested locally and it works well. But for some reason, GitHub doesn't like the new winmd binary and refuses to let me upload it. Very weird.

C:\git\windows-rs>git push
Enumerating objects: 11, done.
Counting objects: 100% (11/11), done.
Delta compression using up to 32 threads
Compressing objects: 100% (6/6), done.
Writing objects: 100% (6/6), 11.69 MiB | 168.63 MiB/s, done.
Total 6 (delta 2), reused 0 (delta 0), pack-reused 0
error: RPC failed; curl 18 transfer closed with outstanding read data remaining
send-pack: unexpected disconnect while reading sideband packet
fatal: the remote end hung up unexpectedly
Everything up-to-date

@AArnott
Copy link
Member Author

AArnott commented Mar 19, 2021

You're checking in binaries, @kennykerr? 😲

I'm afraid I have nothing more useful to offer. Maybe it finally got so big that github rejects it.

@kennykerr
Copy link
Contributor

kennykerr commented Mar 19, 2021

We don't have an alternative unfortunately. You're lucky in that .NET knows what a nuget package is. Rust has a different package format and to get something inside the package I need to stick it on GitHub. Think of GitHub as Rust's nuget.org backend.

I believe GitHub's file limit is 100MB, so we have a way to go. 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocking A projection cannot use the latest version
Projects
None yet
Development

No branches or pull requests

3 participants