The "magic inside" is the following line at the bottom of the csproj file
(AFTER the line that imports the Microsoft.CSharp.targets file):
  <Import Project="$(WixCATargetsPath)" />

That line requires the following properties and items be set in your csproj
file:
CustomAction.config must be included as a Content item in an item group.
WixCATargetsPath must be a property defined either in the csproj file or
otherwise defined for MSBuild when it runs your file and must be the path to
the Wix.CA.targets file.

-----Original Message-----
From: Elfe Xu [mailto:elf...@microsoft.com] 
Sent: Friday, June 11, 2010 10:56 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] How to integrate into TFS if the wix project has
managed CA written with DTF?

Hi all,

I've learnt that to make a wix project work with TFS, I need to edit the
.wixproj file, and also the TFSBuild project by adding ConfigurationToBuild
to Mixed Platforms.
I also learnt that if I have a C# library project, and I want to use it as
custom action library, I need to run MakeSfxCA to package the binary. Now my
question is: how to put them together? What should I do to integrate my wix
project into TFS, if it has CustomAction that refer to a C# library project?

I tried to write a CA project with the C# CA template in VS, and find it
does the package automatically. I checked for the wix and cs project files,
but find nothing. Seems it has some magic inside.

Anyone can provide some instructions for me to follow?

Thanks!
-Elfe
----------------------------------------------------------------------------
--
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to