visual studio 2010 - configuration file to output dir when testing -


when execute tests visual studio 2010, app.config used in test not being copied folder testresults/out. icant set deployment test settings because there more 1 test project have same filename

what can solve this? there other way achieve content file deployment when running tests?

thanks in advance

it's relative simple use custom configuration file in tests. example:

/// <summary> /// summary description relatoriotest /// </summary> [testclass] [deploymentitem("dependency.config")] <- put here configuration file path. public class relatoriotest {    ... } 

Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -