This bug has been fixed, but hasn't been checked in yet. In the meantime,
you can make the change yourself if you want (the change is in bold):
<Import Project="$(CustomBeforeWixTargets)" Condition="
'$(CustomBeforeWixTargets)' != '' and Exists('$(CustomBeforeWixTargets)')"
/>
<Import Project="$(CustomAfterWixTargets)" Condition="
'$(CustomAfterWixTargets)' != '' and Exists('$(CustomAfterWixTargets)')" />
Justin
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jim Dierkes
Sent: Wednesday, September 12, 2007 1:40 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] MSB4035 - WiX 3.0 & TFS Beta 2
I get the following error with the Wix.Targets file when trying a team build
with Team Foundation Server 2008 Beta 2.
[Any CPU/Debug] C:\Program
Files\MSBuild\Microsoft\WiX\v3.0\Wix.targets(55,3): error MSB4035: The
required attribute "Project" is missing from element <Import>.
Here is line 55 from Wix.Targets.
<Import Project="$(CustomBeforeWixTargets)"
Condition="Exists('$(CustomBeforeWixTargets)')" />
I commented line 55 above in Wix.Targets and this line was tagged with the
same error.
<!-- Extension point: Define CustomAfterWixTargets to a .targets file that
you want to include after this file. -->
<Import Project="$(CustomAfterWixTargets)"
Condition="Exists('$(CustomAfterWixTargets)')" />
After commenting out the second line I do not get an error. If I don't have
any custom build tasks then how can I get past this without defining these
custom targets and without modifying the Wix.Targets file?
Cheers,
Jim
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users