You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've traced a problem in Visual Studio back to a schema in this repo, so I'm logging and issue here, but please forward me to the correct place if this is not the place to be posting this issue.
My app connects to several USB devices. The first device I am connecting to has a VendorId of 534C and I have no issue connecting to this, but the other device I have has a VendorId of 2C97. Visual Studio complains about the number and says that it doesn't match the schema http://schemas.microsoft.com/appx/manifest/types:ST_DeviceId . I tracked that schema down in this file in this repo:
But, Visual Studio complains saying that it doesn't match the schema. Judging by normal Regex, the value '2C97 0001' should match though. I tried this expression
Severity Code Description Project File Line Suppression State Error Validation error. error C00CE169: App manifest validation error: The app manifest must be valid as per schema: Line 36, Column 15, Reason: 'vidpid:2C97 0001' violates pattern constraint of 'any|vidpid:[0-9a-fA-F]{4} [0-9a-fA-F]{4}( (usb|bluetooth))?|model:[^;]{1,512};.{1,512}'. The attribute 'Id' with value 'vidpid:2C97 0001' failed to parse. LedgerWalletUWPSample C:\GitRepos\ledger-dotnet-api\LedgerWalletUWPSample\bin\x86\Debug\AppxManifest.xml
The Regex is actually different to the definition here
Hi,
I've traced a problem in Visual Studio back to a schema in this repo, so I'm logging and issue here, but please forward me to the correct place if this is not the place to be posting this issue.
My app connects to several USB devices. The first device I am connecting to has a VendorId of 534C and I have no issue connecting to this, but the other device I have has a VendorId of 2C97. Visual Studio complains about the number and says that it doesn't match the schema http://schemas.microsoft.com/appx/manifest/types:ST_DeviceId . I tracked that schema down in this file in this repo:
https://github.com/tpn/winsdk-10/blob/master/Include/10.0.16299.0/winrt/AppxManifestSchema2013.xsd
This is the XML:
The XML I am trying to put in the manifest is this:
But, Visual Studio complains saying that it doesn't match the schema. Judging by normal Regex, the value '2C97 0001' should match though. I tried this expression
[0-9a-fA-F]{4} [0-9a-fA-F]{4}
here:
https://regexr.com/
And got a match on 2C97 0001
Any ideas?
The text was updated successfully, but these errors were encountered: