Installer build broken after upgrading Visual Studio to v. 17.13.3 #2
-
I have a solution with a number of C# projects and an installer project. Naturally some C# project depend on each other. Say, I have project A and projects B and C both depending on A. And there are multiple dependencies between other projects. Before VS 17.13.3 everything was building properly. After updating VS to 17.13.3 (and later to 17.13.4, it is the same) strange things started to happen: When building the installer project from VS it first builds all the project it depends on (correct). Then it starts building the installer project and strangely it looks like it tries to build some of the projects again. The build log I see is like this: ... building all projects, everything is ok. In particular: And then I have a bunch of errors when building projects B and C because it couldn't find their dependency A (which is perfectly found when building these projects separately). All messages start with "36>", i.e. it happens as a part of the installer build. The whole build process is now noticeably longer since it builds most parts twice. Another strange thing: trying to clean the solution initiates installer project build which then again fails with the above errors when building projects B and C. So clean process fails with build errors (?) All described happens on at least 2 different PCs where Visual Studio was updated, it is not a local problem. Same solution builds OK in Azure build pipeline. So it looks like something between Visual Studio and HeatWave. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 8 replies
-
Same here... 1>------ Clean started: Project: ProjectToolsGUISetup, Configuration: Release x64 ------ Rebuilding the solution causes everything to be built twice 😪 I started investigating this target : BuildProjectReferencesVisualStudioSkipped found it in this file here : and this explanation with it :
and now it works like before... of course, I know nothing about MSBuild.. so not sure how useful this is.. since now all the "important functionality in .wixprojs" mentioned above is probably skipped 🤷♂️ |
Beta Was this translation helpful? Give feedback.
-
FYI, we are investigating a fix for this problem. We believe a bug snuck in while trying to address an integration issue with a 3rd party extension to Visual Studio. We missed the fact that the fix now caused the |
Beta Was this translation helpful? Give feedback.
-
Quick update. We believe we have the fix for this issue, and it will be included in a HeatWave release coming early next week with the release of WiX 6. |
Beta Was this translation helpful? Give feedback.
-
FYI, HeatWave v1.0.6 was released earlier this week, and this issue should be fixed. |
Beta Was this translation helpful? Give feedback.
Same here...
after updating to VS 17.13.4 when I clean the project it rebuilds it first (including prebuild and postbuild targets !!!)
and then deletes the files ... 🤷♂️
1>------ Clean started: Project: ProjectToolsGUISetup, Configuration: Release x64 ------
1>Build started 3/21/2025 2:51:36 PM.
1>Target BuildProjectReferencesVisualStudioSkipped:
1> Target PreBuild:
...
Rebuilding the solution causes everything to be built twice 😪
I started investigating this target : BuildProjectReferencesVisualStudioSkipped
found it in this file here :
C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\FireGiant\FireGiant.HeatWave.DesignTime.targets
and this explanation with it :