On Thursday 02 Dec 2010 18:59:37 Sean Farrow wrote:
> Hi:
> Is it possible to use msbuild variables (such as $(configuration)) in a
> .wxs source file? Any help appreciated.
> Cheers
> Sean.
> ---------------------------------------------------------------------------
> --- Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
> Tap into the largest installed PC base & get more eyes on your game by
> optimizing for Intel(R) Graphics Technology. Get started today with the
> Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
> http://p.sf.net/sfu/intelisp-dev2dev
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
Yes. I believe what you are looking for is $(var.Configuration). I use the ones 
provided by csproj's all the time. By using votive and adding references to 
the csharp projects you get access to their "macros" like TargetPath. So for 
example $(var.Project1.TargetPath) is the path to the executable after its 
being (eg Project1\bin\Debug\Project1.exe). Using these tends to also be quite 
nice since I don't have to worry about different output paths for different 
mixtures of platforms and configurations as the macros handles all that for me.

------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to