I'm  doing a TFS 2008 build with wix 3.0  and I'm getting the error:

SQLServerCustomAction.vbproj(101,11): error MSB4019: The imported project 
"C:\Program Files\MSBuild\Microsoft\WiX\v3.0\Wix.CA.targets" was not found. 
Confirm that the path in the <Import> declaration is correct, and that the file 
exists on disk.

I saw the post on incorporating Wix into the build process.   I followed that 
because I was having problems with the Wix.targets file.
Once I incorporated the fix, that first problem went away and the build went 
through without problems.

After a couple of builds .. I'm now getting the error on the wix.ca.targets 
files.

Here is the contents of my project file:

<Project DefaultTargets="Build" 
xmlns="http://schemas.microsoft.com/developer/msbuild/2003";>
  <PropertyGroup>
     ...
    <WixTargetsPath Condition=" '$(WixTargetsPath)' == '' AND 
'$(MSBuildExtensionsPath32)' != '' 
">$(MSBuildExtensionsPath32)\Microsoft\WiX\v3.0\Wix.targets</WixTargetsPath>
    <WixTargetsPath Condition=" '$(WixTargetsPath)' == '' 
">$(MSBuildExtensionsPath)\Microsoft\WiX\v3.0\Wix.targets</WixTargetsPath>
    <WixCATargetsPath Condition=" '$(WixCATargetsPath)' == '' 
">$(MSBuildExtensionsPath)\Microsoft\WiX\v3.0\Wix.CA.targets</WixCATargetsPath>
  </PropertyGroup>

  <PropertyGroup>
        
<WixToolPath>$(SourceCodeControlRoot)\NiceWareProductDevelopment\TissueManagementSystem\WixInstallerToolsForBuild\</WixToolPath>
        <WixTargetsPath>$(WixToolPath)Wix.targets</WixTargetsPath>
        <WixTasksPath>$(WixToolPath)wixtasks.dll</WixTasksPath>
  </PropertyGroup>
  <PropertyGroup>
        
<WixToolPath>$(SourceCodeControlRoot)\NiceWareProductDevelopment\TissueManagementSystem\WixInstallerToolsForBuild\</WixToolPath>
        <WixCATargetsPath>$(WixToolPath)Wix.CA.targets</WixCATargetsPath>
        <WixTasksPath>$(WixToolPath)wixtasks.dll</WixTasksPath>
  </PropertyGroup>
  <Import Project="$(WixTargetsPath)" />
  <Import Project="$(WixCATargetsPath)" />


Any ideas ?



------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to