如何在AppxManifest中为UWP格式化我的版本号?我尝试了一切,但似乎没有任何效果。编译器总是返回:
C:\ AdaptSource \ Xivic \ Adapt.Presentation.Xivic.UWP \ BIN \ 86 \发布\ AppxManifest.xml :错误APPX0501:验证错误。错误C00CE169:应用清单 验证错误:应用清单必须符合架构:Line 10,第109栏,原因:' 43.92.00'违反了模式约束 '(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}&#39 ;. 属性'版本'价值' 43.92.00'无法解析。 [C:\ AdaptSource \ Xivic \ Adapt.Presentation.Xivic.UWP \ Adapt.Presentation.Xivic.UWP.csproj]
答案 0 :(得分:4)
需要4个数字。请参阅MSDN doc:
https://docs.microsoft.com/en-us/windows/uwp/publish/package-version-numbering