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
YuliiaKovalova
changed the title
error WIX0200: unhandled extension element 'WixStandardBootstrapperApplication' when building with VS2022 17.13.0 Preview 2.0
MSB4057 The target "CollectSuggestedVisualStudioComponentIds" does not exist in the project.
Dec 18, 2024
Note: on a clean machine (with no NuGet packaged installed) the Repro Steps requires an explicit msbuild -restore before executing msbuild -t:build -p:Configuration=Release -p:Platform=x64
The Visual Studio team confirmed this issue is a breaking change in VS2022 17.13. We'll address the breaking change when one of our customers requires it.
Until then, you can work around the breaking change by adding the following line to the bottom of your .wixproj.
@jespersh Visual Studio made it clear that this is an expected breaking change. We will need to update HeatWave to adapt to the breaking change.
None of our current customers are on Visual Studio preview builds, so supporting preview builds is not a priority for us. We will release an updated HeatWave to meet our customers' needs.
HeatWave Version
1.0.4.5
Visual Studio Version
17.13.0 Preview 2.0
Repro Steps
Repo: https://github.com/team-charls/netpbm-wic-codec
Actual Result
Exception during design-time build: MSB4057 The target "CollectSuggestedVisualStudioComponentIds" does not exist in the project.
Expected Result
Quick fix:
FireGiant.HeatWave.DesignTime.targets
contains empty target :
<Target Name="CollectSuggestedVisualStudioComponentIds" />
OR
Reliable fix:
FireGiant.HeatWave.DesignTime.targets
imports DTB targets form project system:https://github.com/dotnet/project-system/blob/5f3636c2064201fac04017900e0160193ee8627b/src/Microsoft.VisualStudio.ProjectSystem.Managed/ProjectSystem/DesignTimeTargets/Microsoft.Managed.DesignTime.targets#L437
The text was updated successfully, but these errors were encountered: