Skip to content

Set StartupHookSupport to true in Debug builds when PublishAOT is true #126545

Closed as not planned

Description

@tmat

To enable Hot Reload. See discussion on #123778.

The change would be in Microsoft.NET.ILLink.targets: https://github.com/dotnet/runtime/blob/main/src/tools/illink/src/ILLink.Tasks/build/Microsoft.NET.ILLink.targets#L39C5-L39C93

I think we should also set MetadataUpdaterSupport to true in Debug configuration, or rather remove changing it in Microsoft.NET.ILLink.targets entirely. It's already disabled for Release builds in the SDK: https://github.com/dotnet/sdk/blob/main/src/Tasks/Microsoft.NET.Build.Tasks/targets/Microsoft.NET.Sdk.targets#L157

Activity

  1. transferred this issue fromdotnet/sdkon Apr 4, 2026
  2. assigned
    and
    tmat
    and unassigned
    and
    tmat
    on Apr 4, 2026
  3. dotnet-policy-service commented on Apr 4, 2026

    @dotnet-policy-service
    Contributor

    Tagging subscribers to this area: @agocke, @dotnet/ilc-contrib
    See info in area-owners.md if you want to be subscribed.

  4. MichalStrehovsky commented on Jun 24, 2026

    @MichalStrehovsky
    Member

    I assume this is now superseded by #128383 (Make runtimeconfig.dev.json configProperties take precedence over runtimeconfig.json).

  5. locked and limited conversation to collaborators on Jul 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

  • Status
    No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions