Quantcast
Channel: MSBuild forum
Viewing all articles
Browse latest Browse all 2763

Package version number using MSBUILD

$
0
0

Hi,

I'm trying to build a package using MSBUILD: I'm specifying the version number in a customization file.  I'm trying to use version numbers in this format: xx.x.x.0xxx.

MSBUILD is giving me this error:

AppxManifest.xml : error APPX0501: Validation error. error C00CE169: App manifest validation error: The app manifest must be valid as per schema: Line 10, Column 87, Reason: 'xx.x.x.0xxx' violates pattern constraint of '(0|[1-9][0-9]{0,3}|[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5])(\.(0|[1-9][0-9]{0,3}|[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5])){3}'. The attribute 'Version' with value 'xx.x.x.0xxx' failed to parse.

How can I fix this error?

Thank you.




Viewing all articles
Browse latest Browse all 2763

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>