You can substititute environment variables with the %VARIABLE% syntax, eg. %TEMP%. It is not recommended to rely on environment variables for system locations, use path variables instead.
So I am storing an environment variable in the command line, for example:
set VersionNumber=1.0.8.1
Then I tried to write %VersionNumber% in productversion and this makes the linker fail with an error of invalid xml. I tried also to go to the list of properties and add the ProductVersion property with the value %VersionNumber%, and this generates the string '%VersionNumber%' without making any substitution. Lowercase/uppercase does not seem to make a difference.
--
You received this message because you are subscribed to the Google Groups "dotnetinstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dotnetinstaller+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
dB. | Moscow - Geneva - Seattle - New York
code.dblock.org - t:@dblockdotorg - ig:@artdblockdotorg - artsy.net - github/dblock
PS: I'm running the NYC TCS Marathon in 2018 for TeamForKids charity. Please donate here.