I can not build the generated UWP project by Zebble

非 Y 不嫁゛ 提交于 2019-12-24 10:26:07

问题


I created a sample project using Zebble Extension for Visual Studio. The related projects created successfully but unfortunately when I tried to compile the UWP project, the build process failed with the following error:

Validation error. error C00CE169: App manifest validation error: The app manifest must be valid as per schema: Line 10, Column 13, Reason: '$solutionname$' violates pattern constraint of '[-.A-Za-z0-9]+'. The attribute 'Name' with value '$solutionname$' failed to parse.

How can I fix it?


回答1:


That error means the Zebble extension was unable to run the Zebble CLI tool (Zebble.exe) upon creation of your new project in Visual Studio.

Normally this is because of security restrictions. So solve that, you should:

  • Run Visual Studio as administrator before creating a new project.

NOTE:

Alternatively, you can configure your Visual Studio process (devenv.exe) to always run as administrator. This can be handy to prevent other problems in the future (such as debugging a process) using:

Can you force Visual Studio to always run as an Administrator in Windows 8?

(works in Windows 10 too)



来源:https://stackoverflow.com/questions/43232322/i-can-not-build-the-generated-uwp-project-by-zebble

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!