The Pademelon
The Pademelon

Reputation: 942

UWP Version Numbers

How do I format my version number in my AppxManifest for UWP? I'm trying everything I can but nothing seems to work. The compiler always returns:

C:\AdaptSource\Xivic\Adapt.Presentation.Xivic.UWP\bin\x86\Release\AppxManifest.xml : error APPX0501: Validation error. error C00CE169: App manifest validation error: The app manifest must be valid as per schema: Line 10, Column 109, Reason: '43.92.00' 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 '43.92.00' failed to parse. [C:\AdaptSource\Xivic\Adapt.Presentation.Xivic.UWP\Adapt.Presentation.Xivic.UWP.csproj]

Upvotes: 1

Views: 1226

Answers (1)

Stefan Wick  MSFT
Stefan Wick MSFT

Reputation: 13850

It needs to be 4 numbers. See MSDN doc:

https://learn.microsoft.com/en-us/windows/uwp/publish/package-version-numbering

Upvotes: 4

Related Questions