Hi Jay,

Thanks a lot! It seems to work :)

Thank you all!

Regards,
Anna

2010/3/8 JayFleming <[email protected]>

> Hi Ann,
>
>
> A quick tweak to Lennart's MSBuild script above should get you what
> you want:
>
> <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>
>
>     <ItemGroup>
>        <ProjectsToBuild Include="C:\directory\**\*.csproj" Exclude="C:
> \directory\**\DontBuild.csproj"/>
>    </ItemGroup>
>
>     <Target Name="Build">
>         <MSBuild Projects="%(ProjectsToBuild.Identity)"
> Properties="Configuration=$(Configuration);Platform=$(Platform)"/>
>     </Target>
>
> </Project>
>
> For a better example see here:
>
> http://www.sedodream.com/PermaLink,guid,ed3a0c98-fdac-4467-9116-5b3bf6755abc.aspx
>
> Cheers,
> Jay
>

Reply via email to