[wix-users] Problems in visual studio 2008 visual c project with wix toolset 3.8 - error CNDL0150 : Undefined preprocessor variable

Jason Pyeron jpyeron at pdinc.us
Mon Oct 10 05:19:13 PDT 2016


[resending - onlist]
> -----Original Message-----
> From: sampat magi 
> Sent: Sunday, October 09, 2016 21:55
> 
> Hi Jason
> 
> I have cloned ur branch from GitHub and I am able to build 
> your sample setup without any issues 

The master branch has the *** work around *** for the var.proj being undefined in vcproj based projects.

Proper: <File Source="$(var.application.TargetPath)" />

Work around: <File Source="$(var.SolutionDir)\$(var.Configuration)\application.exe" />

> 
> I am using VS2013 pro and WiX 3.10.3

We are limited to visual studio 2008 for this effort. Which means we are limted to WiX 3.8.

That being said, the failing configuration is in the vcproj-fail branch.

> 
> Can you share your screen about the error you are getting?

I have added a pdf of the screen and error messages in the doc folder.

https://github.com/CipherShed/test-wix/tree/vcproj-fail

> 
> Regards
> 
> Sampat
> 
> On Sat, Oct 8, 2016 at 11:16 PM, Jason Pyeron 
> <jpyeron at pdinc.us> wrote:
> 
> 
> 	I am working on old code trying to convert to a msi 
> based install and I hit the CNDL0150.
> 	
> 	I then tried a new solution for a hello world, and I 
> still hit the issue.
> 	
> 	Tried in vs 2012, same issue.
> 	
> 	Rited fiddling in wix project file, same issue.
> 	
> 	The problem does not exist with a C#
> 	
> 	Googling around
> 	
> 	
> http://stackoverflow.com/questions/1306391/does-the-wix-heat-u
tility-work-with-visual-c-projects > <http://stackoverflow.com/questions/1306391/does-the-wix-heat-
> utility-work-with-visual-c-projects> 
> 	
> 	
> http://stackoverflow.com/questions/3669769/why-would-all-of-my
-references-have-yellow-exclamation-points-on-them-in-my-net > <http://stackoverflow.com/questions/3669769/why-would-all-of-m
> y-references-have-yellow-exclamation-points-on-them-in-my-net> 
> 	
> 	https://github.com/bspell1/NuBuild/issues/4 
> <https://github.com/bspell1/NuBuild/issues/4> 
> 	
> 	Any suggestions?
> 	
> 	My tests/attempts are located at 
> https://github.com/CipherShed/test-wix 
> <https://github.com/CipherShed/test-wix>  .
> 	
> 	-Jason
> 	
> 	
> 	
> 	
> ____________________________________________________________________
> 	WiX Toolset Users Mailing List provided by FireGiant 
> http://www.firegiant.com/
> 	
> 
> 
> 



More information about the wix-users mailing list