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

Reply via email to