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

Fix inject_debug_resources target #44238

Merged
merged 1 commit into from
Nov 4, 2020

Conversation

hoyosjs
Copy link
Member

@hoyosjs hoyosjs commented Nov 4, 2020

Fixes #44232

Turns out the CMake custom command used to inject the DAC table ends up in a generated wrapper BAT script. dotnet.cmd seems to not be executed using CALL inside the script and then the generation exits the script and ends up exiting the custom target before it gets to inject them. Instead, call CMD to execute the script.

Copy link
Member

@jkoritzinsky jkoritzinsky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I hate batch scripts so much

@hoyosjs hoyosjs merged commit a627934 into dotnet:master Nov 4, 2020
@hoyosjs hoyosjs deleted the juhoyosa/fix-dac-table branch November 4, 2020 17:20
@ghost ghost locked as resolved and limited conversation to collaborators Dec 6, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CoreCLR missing resources needed for managed debugging on Windows
3 participants