Hendra
Hendra

Reputation: 11

C# Microsoft Test Unit with custom folder

i'd like to ask some thing about VS2010 Test project. i have a class library project with a custom folder that contain configuration files. then i have a test project that will be used to test the class library. the problem is the configuration folder is not created on the test result folder everytime i build/run the test. how to make the folder and files created when i build/run the test?

thanks

Upvotes: 1

Views: 167

Answers (1)

Pablo Romeo
Pablo Romeo

Reputation: 11396

You should use DeploymentItems to reference external content your tests depend on.

Here's a similar SO post with a step-by-step guide on how to do it: https://stackoverflow.com/a/4604124/1373170

Upvotes: 1

Related Questions