Can anyone help. I have an ASP.NET application which has a web.config file so i have used the testsettings to DEPLOY the web.config to the OUT directory.
I have checked and it is there. But i can’t pickup my connection string…
If i enter the connection string in a standard app.config in the unit test project then everything works.
I was trying to cut down on maintenance 🙂
Hence i only have 1 connection string to update in 1 place..
is there a way around this?
As part of your test setup, have the first step copy the
web.configtoapp.config.