Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

solution, project and system environment constants not automatically set for me in 4.0 #4607

Closed
wixbot opened this issue Nov 22, 2014 · 1 comment · Fixed by wixtoolset/wix#60
Assignees
Milestone

Comments

@wixbot
Copy link

wixbot commented Nov 22, 2014

Use of $(var.Platform) and $(var.SolutionDir) in my wix sources is generating the following compiler errors.

Undefined preprocessor variable '$(var.Platform)'.
Undefined preprocessor variable '$(var.SolutionDir)'.”

Search hits reference http://wixtoolset.org/documentation/manual/v3/votive/votive_project_references.html suggesting it’s still supported.

My expectation is that v4.0 takes care of automatically setting all the typical constants in compiler execution just like v3.9 and earlier releases did.

Cracking open wixproj and adding "$(DefineConstants);Platform=$(Platform);SolutionDir=$(Solut
ionDir); " entries is a work around.

Originally opened by robertob

@wixbot
Copy link
Author

wixbot commented Dec 4, 2014

Area changed from compiler to msbuild

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

2 participants