Last post Jul 26, 2010 09:19 AM by vinay13mar
Jul 25, 2010 07:38 AM|meradeg|LINK
my subprojects creates serveral web.config files? I have solution that consists of 10 projects and I want everyone to compalie but the one in the top root. Now my problem is that my subprojects are all located inside folders in the root and my subprojects
generates each a web.config. Thhis doesnät work very good so what should I reconfigure would you say?
Jul 26, 2010 09:10 AM|integrasol|LINK
I take it, you want the web application projects in the subfolders to use the settings stored in the web.config file in the root folder of the main project, right? If so, ASP.NET uses inheritance when it comes to configuration, so the simple option is to
delete either the web.config file in the sub folders, or the parts the overwrite or clash with the settings in the parent web.config file.
Jul 26, 2010 09:19 AM|vinay13mar|LINK
You can do one thing either u create virtual directory for each sub project and include it in your main project .
Secondly u just include ur sub project in the root of mail project and delete all the web.config files of sub projects, and use only one web.config file of main project.