Hi,

I use $(var.MyProject.ProjectDir)\Web.config so that it reads the file from the 
source folder instead of the output folder, which is OK since the TFS build 
process does not change the web.config file in any way in my setup.



Arild


________________________________
From: [EMAIL PROTECTED] [EMAIL PROTECTED] On Behalf Of Tris Hodges [EMAIL 
PROTECTED]
Sent: Thursday, February 28, 2008 2:46 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] TargetDir and TFS 2008 build

Wix 3 and VS & TFS 2008

I have a the following line which works fine when I do a local build but fails 
when I build through TFS.

The obvious reason being that the TargetDir variable doesn't point to the 
_PublishedWebsites directory which is where the config file is built by TFS

<File Id="Web.configFile" Name="WEB.CONFIG" DiskId="1" 
Source="$(var.MyProject.TargetDir)..\web.config" />

How would I deal with both scenarios, so it picks up this file during a local 
build and via TFS? Hoping someone can give me a point in the right direction.
Thanks


________________________________
She said what? About who? Shameful celebrity quotes on Search 
Star!<http://www.msnsearchstar.com>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
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

Reply via email to