Hi Lennart,

Thanks a lot!
Is any tag that allows to compile all .proj files in one line? I need
something like this:

' compile = "C:\path\**\*.cproj"
but don't compile "C:\path\to\**\*.cproj" '

Is it possible?

Ann


2010/3/5 Lennart Wagner <[email protected]>

> 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