Deployment items not working with new Visual Studio 2010 test project -


i created new visual studio 2010 test project.

<solution>     <test-project>         resources             test-data.csv         tests.cs 

i added 1 test 1 deployment item attribute.

[testmethod] [deploymentitem("test-project\resources")] public void some_unit_test() { ... } 

the file in resources folder not moving test results out directory , not being found test code.

you must check "enable deployment" in deployment section of test settings project.


Comments

Popular posts from this blog

List<T>().Add problem C# -

Javascript natural sort array/object and maintain index association -