Closed MBroholmA closed 1 year ago
Can you link to a repository with a repo or (if sufficient) attach a .wixproj that demonstrates the problem(s)?
I can make a repo to provoke the issue when upgrading from V3, but the problem is also present in a new V4 project.
The $(TargetPath) is blank in the build log. This goes for all the build variables I tested
This might be a separate issue from the upgrade scenario, but the symptoms are the same.
Hey, @FireGiantHelp, this looks like a HeatWave conversion-specific issue for you to consider.
Which version of WiX are you building with? 4.0 preview 1
Which version of Visual Studio are you building with (if any)? 2022 17.3.6
Which version of the WiX Toolset Visual Studio Extension are you building with (if any)? 4.0 preview 1
Describe the problem and the steps to reproduce it.
Build variables not available in Pre and Post-Build events
This simple example gets converted to a V4 SDK-style project. I don't know how to fix this for SDK projects, but for my real project this was fixed by moving the line up above the tag
EDIT: After testing these flows I found out that it's the same problem in a new V4 project