S
skneife
I have a Solution that contains a website and its web.config and
another project named testWebSite.
I need to access to the web.*config located in the website project
from testWebSite like this:
string dbCs =
ConfigurationManager.ConnectionStrings["myConnectionString"].ConnectionString;
This code failed and generates an exception because (it seems) that
the web.config is available only in the folder where it is.
So what is the solution for Access to a web.config from another
project ?
Sam
another project named testWebSite.
I need to access to the web.*config located in the website project
from testWebSite like this:
string dbCs =
ConfigurationManager.ConnectionStrings["myConnectionString"].ConnectionString;
This code failed and generates an exception because (it seems) that
the web.config is available only in the folder where it is.
So what is the solution for Access to a web.config from another
project ?
Sam