You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MSBuild version 17.7.2+d6990bcfa for .NET Framework
HeatWave Version
n/a?
Windows Version
Windows Server 2016 | Version 1607 OS Build 14393.6452
Repro Repo
No response
Repro Steps
In BeforeBuild step, 2 .wxs files (ServiceDesignerPackageFiles.wxs and CommonPackageFiles.wxs) are generated that do not exist initially in the folder. The files are successfully generated in BeforeBuild; however, in CoreCompile, this files are not passed in the parameters.
The CoreCompile step using wix.exe does not include in the parameters .wxs files generated by heat.exe when they are generated in the BeforeBuild.
If you try to compile again with the .wxs files already in the folder, wix.exe includes them in the parameters:
I tried adding a wait between BeforeBuild and CoreCompile in Setup.wixproj, thinking it could be a synchronization issue, but the problem persisted.
Workaround: I created ServiceDesignerPackageFiles.wxs and CommonPackageFiles.wxs empty. With this empty files created, the build was successful, and the .msi was generated. This leads me to believe that the empty files are not used, but rather the .wxs files generated by heat.exe.
I'm not sure if the bug might be in heat.exe, wix.exe, or another point that I am not aware of.
Actual Result
The .wxs files generated by heat.exe are not being passed in the parameters of wix.exe
Expected Result
The .wxs files generated by heat.exe need to be passed in the parameters of heat.exe
Acknowledgements
I acknowledge that this is a fully completed bug report. It is not a question or attempt to get help debugging my issue (because those should be sent to Discussions).
The text was updated successfully, but these errors were encountered:
Your project needs to do the same kind of work that HarvestDirectory does to get generated names into the list of files to be compiled. Or just use HarvestDirectory and let it do the work.
WiX Version
4.0.3
.NET or MSBuild or Visual Studio Version
MSBuild version 17.7.2+d6990bcfa for .NET Framework
HeatWave Version
n/a?
Windows Version
Windows Server 2016 | Version 1607 OS Build 14393.6452
Repro Repo
No response
Repro Steps
In BeforeBuild step, 2 .wxs files (ServiceDesignerPackageFiles.wxs and CommonPackageFiles.wxs) are generated that do not exist initially in the folder. The files are successfully generated in BeforeBuild; however, in CoreCompile, this files are not passed in the parameters.
The CoreCompile step using wix.exe does not include in the parameters .wxs files generated by heat.exe when they are generated in the BeforeBuild.
If you try to compile again with the .wxs files already in the folder, wix.exe includes them in the parameters:
I tried adding a wait between BeforeBuild and CoreCompile in Setup.wixproj, thinking it could be a synchronization issue, but the problem persisted.
Workaround: I created ServiceDesignerPackageFiles.wxs and CommonPackageFiles.wxs empty. With this empty files created, the build was successful, and the .msi was generated. This leads me to believe that the empty files are not used, but rather the .wxs files generated by heat.exe.
I'm not sure if the bug might be in heat.exe, wix.exe, or another point that I am not aware of.
Actual Result
The .wxs files generated by heat.exe are not being passed in the parameters of wix.exe
Expected Result
The .wxs files generated by heat.exe need to be passed in the parameters of heat.exe
Acknowledgements
The text was updated successfully, but these errors were encountered: