2017-04-05 66 views
1

我使用Zebble Extension for Visual Studio创建了一个示例项目。 的相关项目成功创建,但不幸的是,当我试图编译UWP项目,构建过程与失败,错误如下:我无法通过Zebble构建生成的UWP项目

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. 

我怎样才能解决呢?

回答

2

该错误意味着Zebble扩展无法在Visual Studio中创建新项目时运行Zebble CLI工具(Zebble.exe)。

通常这是由于安全限制。因此解决这个问题,您应该:

  • 在创建新项目之前以管理员身份运行Visual Studio。

注:

或者,你可以配置你的Visual Studio过程(devenv.exe的)始终以管理员身份运行。这是很方便的使用,以防止在未来的其他问题(如调试过程):

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

(工作在Windows 10也是如此)

+0

谢谢你的提示答案。问题已经解决了。 –