Xml file not copying to test output directory

后端 未结 4 1701
不知归路
不知归路 2021-02-06 21:19

Visual Studio 2010, x64 machine, using the built-in web server to host a WCF service with a set of unit tests using the built-in test framework.

I have an XML file that

4条回答
  •  被撕碎了的回忆
    2021-02-06 21:54

    look into using this attribute over the tests that require the xml file:

    http://msdn.microsoft.com/en-us/library/microsoft.visualstudio.testtools.unittesting.deploymentitemattribute.aspx

提交回复
热议问题