Xamarin.android 我无法通过Zebble构建生成的UWP项目

Xamarin.android 我无法通过Zebble构建生成的UWP项目,xamarin.android,uwp,xamarin.uwp,xamarin-zebble,zebble,Xamarin.android,Uwp,Xamarin.uwp,Xamarin Zebble,Zebble,我使用VisualStudio的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 patter

我使用VisualStudio的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.

如何修复它?

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

通常这是因为安全限制。所以要解决这个问题,你应该:

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

或者,您可以将Visual Studio进程(devenv.exe)配置为始终以管理员身份运行。这可以方便地防止将来出现其他问题(例如调试进程),方法是:


(也适用于Windows 10)

感谢您的及时回复。问题解决了。