I want to keep multiple web site projects in one solution and I want to publish them all together in one folder. What are the steps to do that? Can I publish the whole solution? I am guessing the solution is only a container that is holding different web site projects. I want to publish all these small web site projects into one place and I want to use a single page for the authentication for the whole application. How can I publish these multiple web sites at one location? Do I have to manage web.config?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
It sounds like what you really need is a single web project (and I'd recommend web application projects rather than web "site" projects... but that's another topic).
If they all share common authentication and root folder, why separate them?
回答2:
You could use an MsBuild on NAnt build script to do that.
回答3:
I would seriously consider merging the projects into 1, especially if they will be using the same authentication system. Once merged, you would be able to use inherited MasterPages to easily give each section it's own "look-and-feel", while still maintaining the site's style.