Skip to content

Windows hosting bundle upgrade breaks ANCM on ARM64 machines #60764

Closed
@halter73

Description

@halter73

Starting in .NET 10 preview 2, changes to the Windows hosting bundle installer fix running x64 and x86 web applications with ANCM v2 on ARM64 has broken upgrade scenarios. Some important components like aspnetcorev2.dll and the module entry in applicationhost.config get removed rather than updated if you have a previous version of the hosting bundle already installed.

This causes problems for both IIS and IIS express on ARM64 machines only after attempting to update. Fortunately, you can work around this issue by uninstalling all hosting bundles and reinstalling the .NET 10 preview 2 hosting bundle.

Looking at the dd_dd_DotNetCoreWinSvrHosting__20250303210516_001_AspNetCoreModuleV2_arm64.log installer log in the temp directory we see the following.

MSI (s) (48:E0) [21:05:26:022]: Disallowing installation of component: {4B6BB33A-01F0-48C7-BCE9-5A5514AC0431} since the same component with higher versioned keyfile exists

This is despite the referenced component being newly added by #59483. Fortunately, it looks like @lextm and @joeloff have gotten to the bottom of this issue and are ready with a fix. I just filed this issue for tracking purposes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-networkingIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractionsfeature-installersIncludes: Installers

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions