Does it work if you build the solution with msbuild? I think this is all
tfs does.

Neil

-----Original Message-----
From: Sachin Dubey (Tata Consultancy Services)
[mailto:v-sad...@microsoft.com] 
Sent: 22 December 2008 23:28
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Error wile building WiX solution in TFS Build.

Thanks for reply Neil.

It's actually not relative path. Its fixed and I know where the source
file would go when the c# Solution is build.
However at the beginning of the build process this path doesn't exist
and created only after completion of first solution build.

If I build both the solutions in separate TFS build projects or from VS
all goes well.

Thanks
Sachin


-----Original Message-----
From: Neil Sleightholm [mailto:n...@x2systems.com]
Sent: Monday, December 22, 2008 1:45 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Error wile building WiX solution in TFS Build.

Are you using relative paths to your source files? IIRC TFS builds
output to a different location than a simple msbuild would and that
might be causing the problem.

Neil

-----Original Message-----
From: Sachin Dubey (Tata Consultancy Services)
[mailto:v-sad...@microsoft.com]
Sent: 22 December 2008 18:58
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Error wile building WiX solution in TFS Build.

Hi Amit,
No of errors are as many as the files are in .wxs file.

Error message is:

error LGHT0083: The file with id '<file id in .wxs file> and name '<file
name in .wxs file>' could not be found with source path: '<Source path
configured for files in .wxs file>'.

Thanks
Sachin


-----Original Message-----
From: amit srivastava [mailto:sri_amit_2...@yahoo.com]
Sent: Sunday, December 21, 2008 2:43 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Error wile building WiX solution in TFS Build.

Sachin,

What error you are getting at the time of compilation from TFS?
It seems it file location for msi will not be in the same location.

Thanks
Amit Srivastava



----- Original Message ----
From: Sachin Dubey (Tata Consultancy Services) <v-sad...@microsoft.com>
To: "wix-users@lists.sourceforge.net" <wix-users@lists.sourceforge.net>;
"wix-d...@lists.sourceforge.net" <wix-d...@lists.sourceforge.net>
Sent: Sunday, December 21, 2008 11:54:29 AM
Subject: [WiX-users] Error wile building WiX solution in TFS Build.

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






------------------------------------------------------------------------
------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------
------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------
------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------
------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to