microsoft/WindowsAppSDK

[MRTCore] MakePri returns an error code when a data element name attribute is longer than 255 characters

Open

#1,229 opened on 2021年8月12日

GitHub で見る
 (1 comment) (0 reactions) (1 assignee)C++ (453 forks)auto 404
area-MRTCorefeature proposalgood first issue

Repository metrics

Stars
 (4,628 stars)
PR merge metrics
 (PR metrics pending)

説明

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.

コントリビューターガイド