【问题标题】:How to add test settings file to a solution如何将测试设置文件添加到解决方案
【发布时间】:2012-08-27 18:37:15
【问题描述】:

我有一个列出<DeploymentItem>s 的测试设置文件。我想将此文件用于我的测试运行。但是,当我使用“添加现有项目”将其添加到解决方案时,它会说

Item has already been added. Key in dictionary: 'deployment item 'c:\myschema.xsd'' Key being added: 'deployment item 'c:\myschema.xsd'

这是什么意思?如何撤消它并添加我的设置?

【问题讨论】:

  • 通常 testsettings 文件是通过 Test->Edit Test Settings 菜单控制的。你看到它在那里列出了吗?另外,在记事本中打开 .sln 文件,查看您的 testsettings 文件是否已被引用。

标签: c# testing settings


【解决方案1】:

碰巧测试设置xml文件中有重复的部署项。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多