I've been trying for about 12 hours to get Wix project dependencies to work.

Some background, I started with a VS2008/Wix3.0 solution and am upgrading to 
VS2010/TFS2010/Wix3.5/MSBuild 4.0.

The old stuff worked perfectly. After upgrading, Wix now appears to totally 
ignore Project References and, thus, tries to build the installer before the 
installed components.

I've spent 12 hours trying different forms of references, but it simply won't 
build from Tfs. It works perfectly from Visual Studio 2010. I can clean the 
entire solution and build just the installer and it builds everything needed 
perfectly.

I've tried to liberally spread 
<BuildProjectReferences>true</BuildProjectReferences> over all my .wixproj and 
.targets files. I've tried adding solution based references. I've tried 
depending on a mixture of .csproj and .vcxproj files (mostly they are dependent 
on C++ projects only). Nothing works. It goes straight in and builds the 
.wixproj pretty near the start, long before any of the stated project 
dependencies.

I've even reordered my .sln file to put all wixproj at the end. No effect 
whatsoever.

What magic incantation do I need to get it to build its project references 
before itself. I'm now thinking of running wix from an <Exec> build step. 
Please 
tell me there is another way!

Christian.
------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to