【问题标题】:Running unit tests on solution can't find appsettings在解决方案上运行单元测试找不到 appsettings
【发布时间】:2015-05-20 13:25:20
【问题描述】:

我的解决方案下有多个测试项目,每个测试项目都有自己的 app.config,当我在 Visual Studio 2013 中使用 Resharper 8.2.1 并单击解决方案上的“运行单元测试”时,各个测试项目无法定位他们的应用程序设置。但是,如果我在每个项目上单击“运行单元测试”,则没有问题。

我该如何解决这个问题?

【问题讨论】:

    标签: nunit resharper


    【解决方案1】:

    尝试启用ReSharper | Options | Tools | Unit Testing | "Use separate AppDomain for each assembly with test"

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-07-13
      • 2013-08-02
      • 2022-01-09
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多