Share via


XRPack Errors (Compact 2013)

3/26/2014

This topic describes build errors that XRPack may write to a log file.

Error

Description

XRPack0001: XRPACK_E_GENERAL_FAILURE
Unhandled Exception exception-code in XamlRuntime

Run XRPack with /LogAll option to get a detailed build log.

Unanticipated fatal error.

XRPack0003: XRPACK_E_TOO_MANY_APP_XAML

XAML files that contain multiple applications are not supported. Refactor your applications into separate projects.

XRPack0004: XRPACK_E_DUPLICATE_URI

A Uniform Resource Identifier (URI) resolves to multiple files in the file system.

XRPack0005: XRPACK_E_INVALID_CHAR_IN_URI

There is an invalid character in a URI.

XRPack0006: XRPACK_E_RESOURCE_MISSING

One or more files are missing.

XRPack0007: XRPACK_E_DUPLICATE_RESOURCE_ID

A Resource ID is specified multiple times in the XAML files.

Resource IDs must be unique within a project.

XRPack0008: XRPACK_E_DUPLICATE_RESOURCE_LABEL

Duplicate resource label. For example:

  • MyXamlScene.xaml contains: xrpack:ClassResourceId="Class:101(IDR_USERLABEL)"
  • MyOtherXamlScene.xaml contains: xrpack:ClassResourceId="Class:102(IDR_USERLABEL)"

The same resource label (IDR_USERLABEL) is used in both files. Resource labels must be unique within a project.

XRPack0009: XRPACK_E_INVALID_RESOURCE_ID

A Resource ID specified in a XAML file must not be zero.

XRPack0010: XRPACK_E_INVALID_ATTRIBUTE_MARKUP

A XAML file must contain an x:Class attribute or Resource IDs must be explicitly defined using xrpack:ClassResourceId attributes.

XRPack0011: XRPACK_E_ERROR_DURRING_RESOURCE_COMPILE

The Resource Compiler (rc.exe) returned an error. The text of this error will include the error from the Resource Compiler.

XRPack0012: XRPACK_E_INVALID_COMMAND_LINE

An invalid command-line option or combination of command-line options is specified.

XRPack0013: XRPACK_E_INVALID_PROJECT_FILE

The project file is not valid.

XRPack0014: XRPACK_E_WRITE_FAILURE

Cannot write intermediate (filtered) XAML file. The text of the error contains the HRESULT returned.

XRPack0015: XRPACK_E_XAML_PARSE_ERROR

Cannot parse the XAML file.

XRPack0016: XRPACK_E_FILE_OPEN_ERROR

Cannot open the XAML file.

See Also

Reference

XAML Resource Packager