【发布时间】: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 文件是否已被引用。