views:

16

answers:

0

Hi all,

I want to build x86 and x64 builds using a single script in TFS 2008. Later on i need to move them to different output dirs and zip them.

Here is my script. I need a bit of guidance of the build script. Please help.

<Target Name="BeforeBuild">
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x64' ">
      <DebugSymbols>false</DebugSymbols>
      <OutputPath>.\x64</OutputPath>
      <EnableUpdateable>true</EnableUpdateable>
      <UseMerge>true</UseMerge>
      <SingleAssemblyName>MyCustomNameSpace.Class.Name</SingleAssemblyName>
      <DeleteAppCodeCompiledFiles>true</DeleteAppCodeCompiledFiles>
    </PropertyGroup>
    <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|.NET' ">
      <DebugSymbols>false</DebugSymbols>
      <OutputPath>.\x86</OutputPath>
      <EnableUpdateable>true</EnableUpdateable>
      <UseMerge>true</UseMerge>
      <SingleAssemblyName>MyCustomNameSpace.Class.Name</SingleAssemblyName>
      <DeleteAppCodeCompiledFiles>true</DeleteAppCodeCompiledFiles>
    </PropertyGroup>
  </Target>

Hope to hear some useful comments and answers.

Thanks.