Hi, I got two projects, a c# project that generates the deployable binaries and WiX project to generate MSI out of the binaries. If I build them separately all work fine. (output location of first project is used as source location in WiX project - wxs file). However when I try to include solutions of both the Project to TFS Build, and try to get MSI in single build run, it fails.
The source location given in the WiX file is created only after building the first c# project/solution. And the compilation of the WiX project happens before the build of first project, this causes compile time error, (source location given in WiX project doesn't exists/files cannot found.) TFSBuild.Proj files looks like : <ItemGroup> <!-- SOLUTIONS --> <SolutionToBuild Include="$(BuildProjectFolderPath)/../../Main/C#Solution.sln"> <Targets></Targets> <Properties></Properties> </SolutionToBuild> <SolutionToBuild Include="$(BuildProjectFolderPath)/../../Main/Package/InstallerSolution.sln"> <Targets></Targets> <Properties></Properties> </SolutionToBuild> </ItemGroup> <ItemGroup> <!-- CONFIGURATIONS --> <ConfigurationToBuild Include="Release|Any CPU"> <FlavorToBuild>Debug</FlavorToBuild> <PlatformToBuild>Any CPU</PlatformToBuild> </ConfigurationToBuild> <ConfigurationToBuild Include="Debug|x86"> <FlavorToBuild>Release</FlavorToBuild> <PlatformToBuild>x86</PlatformToBuild> </ConfigurationToBuild> </ItemGroup> Any clue on this would help. Thanks Sachin ------------------------------------------------------------------------------ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users