microsoft/WindowsAppSDK
View on GitHub[MRTCore] MakePri returns an error code when a data element name attribute is longer than 255 characters
Open
#1,229 opened on Aug 12, 2021
area-MRTCorefeature proposalgood first issue
Repository metrics
- Stars
- (4,628 stars)
- PR merge metrics
- (PR metrics pending)
Description
Attempting to compile a .resw file with a long data element name attribute will result in the error :
ERROR: PRI175: 0x80070057 - Processing Resources failed with error: The parameter is incorrect.
This 255 character limit doesn't appear to be documented anywhere, and isn't checked on the embedded XSD. For reference, the XSD for this attribute is <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />.
Visual Studio allows you to type in more than 255 characters, so there is a discrepancy there.