【问题标题】:How can I ignore the VSTest err msgs in my Windows Store app?如何在我的 Windows 应用商店应用程序中忽略 VSTest 错误消息?
【发布时间】:2014-12-07 13:35:37
【问题描述】:

当我构建我的 Windows 应用商店应用程序时,它会显示来自测试的输出:

------ Discover test started ------
Failed to configure settings for runsettings plugin 'VSTest Run Configuration' as it threw following exception:
'An error occurred while parsing EntityName. Line 1, position 8.'
Please contact the plugin author.
========== Discover test finished: 0 found (0:00:00.1350029) ==========
  • 我在窗口底部看到“检测到意外错误。请查看测试输出窗格了解详细信息

我不关心这个或想看到它(现在,无论如何)。我没有设置任何测试。我怎样才能让测试纳粹安静下来?

更新

我不知道是否有直接连接,但是在安装了 Windows 8 和 Windows 8.1 的 SQLite 包更新后,那些奇怪的、流氓的、非编译阻塞的“异常”消息消失了。

正如 Kip Dynamite 所说,“该死!!!”我写得太早了;同样的错误消息现在又回来了。

更新 2

似乎将 Package.appxmanifest 的“打包”选项卡上的包名称从 [some GUID] 更改为 [companyName.appName] 解决了它...但 Y?

更新 3

只有一次(这是baaaaack!)

【问题讨论】:

    标签: visual-studio-2013 windows-store-apps vstest


    【解决方案1】:

    我最近一天左右遇到了这个问题,导致我无法在我的项目中运行单元测试。

    错误解析EntityName时出错。第 1 行,第 8 位。 是如果解析 xml 时出现错误(例如未转义字符),您将从 XmlReader 返回的内容。

    在我的情况下,我在更高级别的文件夹名称中有一个 &。重命名文件夹然后 Build > Clean 解决方案似乎已经解决了这个问题。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-12-05
      • 2012-12-22
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多