Skip to content

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

@tmat

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

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions