This has been the case for a while (defaulting to '/m')--it was documented to 
be the case since VS 2010, and internal documentation I saw for TFS 2010 
indicated that '/m' would be the default for the future.  In order to 
multithread successfully, project dependencies must be used.  The future has 
arrived.

--
John Merryweather Cooper
Senior Software Engineer | Enterprise Service Applications | Continuing 
Development
Jack Henry & Associates, Inc.® | Lenexa, KS  66214 | Ext:  431050 
|jocoo...@jackhenry.com



-----Original Message-----
From: Farrukhw [mailto:farru...@gmail.com] 
Sent: Wednesday, October 15, 2014 3:09 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] TFS: Wix can't see its source files if using 
TfvcTemplate.12.xaml.

So, finally I was able to solve this after a whole day struggle. Like Digg a 
mountain and got a mice :).

Actually TfvcTemplate.12.xaml seems to be executing MsBuild with parallel 
processing enabled (/m), while in my VS Solution, Wix project was added 
independently i.e. in Build Order it was the last project to build, but I never 
set other projects as its dependencies. So MSBuild found that it has no 
dependency and ignored its Build Order and simply building it either on random 
order or as first project. So naturally installer project was unable to find 
its source files and so failing. 

I verified this phenomena by removing /m:1 argument to MSBuild and declaring 
all other projects as Dependencies of Wix Project: i.e. in VS, PROJECT –> 
Project Dependencies. This caused MsBuild to build all other projects before 
Wix Project and now Wix is able to find its Source files properly…

Here is the screenshot for illustration:
<http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/file/n7597312/TfvcTemplate_MSBuildConfig.png>
 






--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/TFS-Wix-can-t-see-its-source-files-if-using-TfvcTemplate-12-xaml-tp7597267p7597312.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
NOTICE: This electronic mail message and any files transmitted with it are 
intended
exclusively for the individual or entity to which it is addressed. The message, 
together with any attachment, may contain confidential and/or privileged 
information.
Any unauthorized review, use, printing, saving, copying, disclosure or 
distribution 
is strictly prohibited. If you have received this message in error, please 
immediately advise the sender by reply email and delete all copies.
------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to