locked
Customize building and publishing of ASP.Net Solution having multiple sites RRS feed

  • Question

  • User-1272766763 posted

    Hi I am working on a project which is a combination of 3 websites made with HTML5 and JS which also share a common code base having JS Classes and Web Proxies for AJAX Calls

    Solution
    |-Site1
    |-Site2
    |-Site3
    |-CommonCode 

    These sites are stand alone and will run on separate domains.

    I want to customize publishing process where all 3 websites can be publish in one go with condition that common codebase will mearge in 3 sites on given path with given folder structure. also after publishing they will associate with specific web application in IIS if application is not created already it has to be created automatically.

    Thursday, July 4, 2013 5:23 PM

Answers

  • User-166373564 posted

    Hi,

    A solution can contain several projects, but ClickOnce deployment is constrained in that it can only publish one project at a time. For solutions with many projects, publishing them one by one can be burdensome. This procedure shows how to automate the process using a macro to publish all the projects in a solution,

    # How to: Publish Multiple Projects in a Solution

    http://msdn.microsoft.com/en-us/library/ms404233(v=vs.100).aspx 

    At the same time you can also learn relevant issues about deploying multiple projects in one solution online, they can give some tips for you,

    hope it helps,

    Regards

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, July 12, 2013 2:13 AM