Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MSB4057 The target "CollectSuggestedVisualStudioComponentIds" does not exist in the project. #73

Open
YuliiaKovalova opened this issue Dec 18, 2024 · 1 comment
Labels
triage To be reviewed by FireGiant

Comments

@YuliiaKovalova
Copy link

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

@YuliiaKovalova YuliiaKovalova added the triage To be reviewed by FireGiant label Dec 18, 2024
@YuliiaKovalova 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
@vbaderks
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage To be reviewed by FireGiant
Projects
None yet
Development

No branches or pull requests

2 participants