【问题标题】:I can not build the generated UWP project by Zebble我无法构建 Zebble 生成的 UWP 项目
【发布时间】:2017-08-31 03:14:10
【问题描述】:

我使用 Zebble Extension for Visual Studio 创建了一个示例项目。 相关项目创建成功但不幸的是,当我尝试编译 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.

我该如何解决?

【问题讨论】:

    标签: xamarin.android uwp xamarin.uwp xamarin-zebble zebble


    【解决方案1】:

    该错误意味着在 Visual Studio 中创建新项目时,Zebble 扩展无法运行 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)

    【讨论】:

    • 感谢您的及时答复。问题解决了。
    猜你喜欢
    • 2017-12-05
    • 2021-05-17
    • 2018-11-06
    • 2022-10-18
    • 1970-01-01
    • 2011-06-25
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多