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

unicode - Are email addresses allowed to contain non-alphanumeric characters? -

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

c++ - Convert big endian to little endian when reading from a binary file -