Forum member
Roman Temek
3 posts
Posts by Roman Temek
-
Config file manipulations fail
Hi The approach with [DeploymentItem] works like a charm. The only concern I have now is that I have to add this attribute to all my tests. Currently I can live with it, but what if had dozen of such files? In this case the test code would be spoiled with [DeploymentItem] attributes. It would be ve…
07 Mar 2012 11:01 UTC
-
Config file manipulations fail
Hi, Thanks for your reply. DataAccess.InMemory.config is a statically created file and it is a part of the project. To make the file visible for MSTest I enabled deployment (menu Test->Edit Test Settings->Local->Deployment->Enable deployment) and specified DataAccess.InMemory.config as an additio…
07 Mar 2012 07:30 UTC
-
Config file manipulations fail
Hi, I experience kind of the same issue. In my test project (a project that contains tests) I have a standard app.config file and a custom config DataAccess.InMemory.config. In runtime a test has no problems with accessing app.config, but when I try to open DataAccess.InMemory.config test can't …
06 Mar 2012 10:03 UTC