Skip to content

Fix inject_debug_resources target#44238

Merged
hoyosjs merged 1 commit into
dotnet:masterfrom
hoyosjs:juhoyosa/fix-dac-table
Nov 4, 2020
Merged

Fix inject_debug_resources target#44238
hoyosjs merged 1 commit into
dotnet:masterfrom
hoyosjs:juhoyosa/fix-dac-table

Conversation

@hoyosjs

@hoyosjs hoyosjs commented Nov 4, 2020

Copy link
Copy Markdown
Member

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.

@hoyosjs hoyosjs added the area-Infrastructure-coreclr Only use for closed issues label Nov 4, 2020
@hoyosjs hoyosjs self-assigned this Nov 4, 2020

@jkoritzinsky jkoritzinsky left a comment

Copy link
Copy Markdown
Member

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.

Labels

area-Infrastructure-coreclr Only use for closed issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CoreCLR missing resources needed for managed debugging on Windows

3 participants