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

Handle architecture mismatch to avoid crashing host #547

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

davkean
Copy link

@davkean davkean commented Oct 14, 2022

Fixes: wixtoolset/issues#6636

MSBuild typically handles exceptions thrown directly by tasks and reports them as errors. WixToolTask.ExecuteTool, however, is forking its execution onto another thread and this thread is throwing when invoking Heat directly in-proc. This is crashing its host.

This is no. 15 of all crashes in Visual Studio 17.3.

Handle the error and give a helpful message instead of crashing.

Fixes: wixtoolset/issues#6636

MSBuild typically handles exceptions thrown directly by tasks and reports them as errors. WixToolTask.ExecuteTool, however, is forking its execution onto another thread and this thread is throwing when invoking Heat directly in-proc. This is crashing its host. This is wixtoolset#15 of all crashes in Visual Studio 17.3.

Handle the error and give a helpful message instead of crashing.
@github-actions
Copy link

github-actions bot commented Oct 14, 2022

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

@spaghettidba
Copy link

Guys, seriously: stubbornly closing and locking issues like #6636 is not helping anyone.
Labelling something that crashes Visual Studio as "notabug" is not funny at all. Moreover, pre-existing Wix projects stopped working, so it is at best a breaking change.
I maintain my Open Source projects too and I know that fixing bugs is no fun, but I feel like this is not how it should be handled.
I suggest reviewing #6636 @barnson

@k4yaman
Copy link

k4yaman commented May 31, 2023

+1 for PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Setup using HeatDirectory task kills Visual Studio 2022
3 participants