Tried using underscores and renaming; still get the same error (CNDL0150: 
Undefined preprocessor variable).

-----Original Message-----
From: Jason Ginchereau [mailto:jason...@microsoft.com] 
Sent: Thursday, April 02, 2009 5:55 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Using Wix and Visual Studio

Any characters in the project name that are invalid for WiX preprocessor 
variable names get automatically converted to underscores. So without renaming 
the project this should work:

$(var.My_Test_Project.TargetFilename)


-----Original Message-----
From: Alex Cater [mailto:alex.ca...@apdcomms.com] 
Sent: Thursday, April 02, 2009 4:28 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Using Wix and Visual Studio


I'm guessing that you cannot have spaces in a project reference variable...

$(var.My Test Project.TargetFileName)

Try renaming your test project to MyTestProject so the project reference 
variable becomes:

$(var.MyTestProject.TargetFileName)

-- 
View this message in context: 
http://n2.nabble.com/Using-Wix-and-Visual-Studio-tp2578030p2578131.html
Sent from the wix-users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to