The documentation is out of date and the path should be
"$(MSBuildExtensionsPath)\Microsoft\WiX\v3.x\Wix.CA.targets" (note: 3.x
not 3.0).

Neil

-----Original Message-----
From: Robert Hermann [mailto:rob.herm...@nicewareintl.com] 
Sent: 25 February 2011 20:52
To: 'wix-users@lists.sourceforge.net'
Subject: [WiX-users] The imported project .... Wix.CA.targets" was not
found

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</WixTargetsP
ath>
    <WixTargetsPath Condition=" '$(WixTargetsPath)' == ''
">$(MSBuildExtensionsPath)\Microsoft\WiX\v3.0\Wix.targets</WixTargetsPat
h>
    <WixCATargetsPath Condition=" '$(WixCATargetsPath)' == ''
">$(MSBuildExtensionsPath)\Microsoft\WiX\v3.0\Wix.CA.targets</WixCATarge
tsPath>
  </PropertyGroup>

  <PropertyGroup>
 
<WixToolPath>$(SourceCodeControlRoot)\NiceWareProductDevelopment\TissueM
anagementSystem\WixInstallerToolsForBuild\</WixToolPath>
        <WixTargetsPath>$(WixToolPath)Wix.targets</WixTargetsPath>
        <WixTasksPath>$(WixToolPath)wixtasks.dll</WixTasksPath>
  </PropertyGroup>
  <PropertyGroup>
 
<WixToolPath>$(SourceCodeControlRoot)\NiceWareProductDevelopment\TissueM
anagementSystem\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

------------------------------------------------------------------------------
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