I have a console application in which website project is added as dll. Inside dll ConfigurationManager.ConnectionStrings["XXX"]
is called which is always returning null
.
But web.config in dll has connectionstring named 'XXX'. Can any one suggest what is going wrong?