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

ruby - When to use an ORM (Sequel, Datamapper, AR, etc.) vs. pure SQL for querying -

php - PHPDoc: @return void necessary? -

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