MSBUILD - How to publish multiple projects from a single Solution (OSGI)

2

I need help to publish my projects. I am using OSGI to modulate my application, consequently in my solution there are several WEB applications.

  

Ex: Solution A

 1. Aplicação 1
 2. Aplicação 2
 3. Aplicação 3
 4. Aplicação Principal

These applications have no reference to each other, but I need all applications to be inside a folder ("Plugins") within the "Parent Application" Rais at the time of publication.

Obs. I need these applications with all the necessary files (Views, Script ... Etc,) can not be just the binary because they are Web applications

    
asked by anonymous 06.06.2014 / 15:15

1 answer

0

You can try via the command line:

msbuild example.sln /p:Configuration=Test;DeployOnBuild=true;PublishProfile=Test.example.pubxml /MaxCpuCount:8

The idea is to create a bach (bat) to make this publication. The cool thing is that if in some project you change some publishing configuration (.pubxml file), this will reflect on the bat.

    
26.06.2014 / 22:56