I have more info.

So my solution, including everything has like 150+ projects.  When the problem 
occurs, it screws up everything, the only apparent way to recover is to unload 
all of the install projects, and then restart visual studio.

Once started, I can reload all of the MergeModules (there are like 15+ of them) 
and the build is fine.  Once I do that, I can reload all of the plain install 
projects and rebuild.

If I unload all of the WiX projects, restart visual studio, and then reload all 
of the Wix projects, the next build on the offending system fails.  If I 
restart visual studio without unloading, it fails while it loads them up and 
builds them (apparently visual studio builds all of the projects when it loads 
a solution in the background -- this could be related to a addin that provides 
enhanced intellisense, I have not really determined that or not).

Once the failure starts, as you can see by the build log, NOTHING compiles, 
msbuild fails immediately.  So whatever is getting out of whack, it is 
persistent once it happens, and there are basically only two ways to reset the 
problem... either restart visual studio or change the setting in 
Tools->options, Projects and Solutions, Build and Run.  Changing the number of 
parallel project builds appears to also reset whatever is wrong.

Whatever it is, it has the appearance (to me anyway) that there is something 
that needs to be synchronized that is not.

It is not as simple as building an individual wixproj.. I am more than happy to 
assist troubleshooting, however, because it appears to be an exception being 
thrown, it would seem that attaching to the process and catching all of the 
exceptions might provide insight.  I was going to do this last night, however I 
could not determine whether the build process was done inside of Visual Studio 
2008, or if a new MSBuild process is spun up... I do not see the new process.  
Any insight?

-----Original Message-----
From: Bob Arnson [mailto:b...@joyofsetup.com]
Sent: Thursday, January 22, 2009 9:55 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] WiX 3.0.4805.0: Internal MSBuild Errors

John H. Bergman (XPedient Technologies) wrote:
> I have already upgraded to the latest release (4917).
>

OK. Can you build the .wixproj via MSBuild from a command line, not within 
Visual Studio?

--
sig://boB
http://joyofsetup.com/



------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to