Hi Ann,

you can create a separate msbuild script for this:

<Project DefaultTargets="" ToolsVersion="3.5"
xmlns="http://schemas.microsoft.com/developer/msbuild/2003";>
 
    <PropertyGroup>
        <Configuration Condition=" '$(Configuration)' == ''
">Debug</Configuration>
        <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
    </PropertyGroup>
 
    <Target Name="Build">
        <MSBuild Projects="..\path\to\project_one\project_one.vbproj" />
        <MSBuild Projects="..\path\to\project_two\project_two.vbproj" />
        <MSBuild
Projects="..\path\to\project_three\project_three.vbproj" />
    </Target>
    
</Project>

Regards,
Lennart

Ann Chaplinskaya wrote:
> Hello,
>
> I have several project files, each within their own sub-directory. I
> need to compile them all using MSBuild tag in config file of CCnet.
> But not all of them referenced to each other. Is it possible to do it
> using one tag
>          <msbuild>
>               
> <executable>c:\WINDOWS\Microsoft.NET\Framework\v4.0.30128\MSBuild.exe</executable>
>             <workingDirectory>c:\Projects\WTS\</workingDirectory>
>        
> <projectFile>TherapyDeviceManager\TherapyDeviceManager.csproj</projectFile> 
>    
>        
>  
> <logger>c:\Programme\CruiseControl.NET\server\ThoughtWorks.CruiseControl.MSBuild.dll</logger>
>    
>
>         </msbuild>

Reply via email to