2017-04-05 67 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

謝謝你的提示答案。問題已經解決了。 –