Skip to content

[dotnet-sdk-11.0.100-preview.7.26360.111] Autodesk Revit 2026 launch failed with error: System.MethodAccessException: Attempt by method 'Autodesk.Revit.ApplicationServices.Application.add_ApplicationInitia... #130612

Description

@Junjun-zhao

Description

When running Autodesk Revit 2026 on latest build dotnet-sdk-11.0.100-preview.7.26360.111, it pop-up error windows with "DBApplication "fa3d130b-2b6b-45be-8734-67536086143f" Startup failed because an error occurred from OnStartup. System.MethodAccessException: Attempt by method 'Autodesk.Revit.ApplicationServices.Application.add_ApplicationInitia... to access method 'System.MulticastDelegate.GetInvocationList()' failed.".

Reproduction Steps

Please refer to repro machine from devdiv bug.

  1. Launch "C:\Program Files\Autodesk\Revit 2026\Revit.exe".

Expected behavior

Launch successfully.

Actual behavior

Launch failed and pop-up window with errors: "DBApplication "fa3d130b-2b6b-45be-8734-67536086143f" Startup failed because an error occurred from OnStartup. System.MethodAccessException: Attempt by method 'Autodesk.Revit.ApplicationServices.Application.add_ApplicationInitia... to access method 'System.MulticastDelegate.GetInvocationList()' failed.".

Regression?

Yes
Verify Scenarios:
1). Windows 11 25H2 AMD64 + dotnet-sdk-11.0.100-preview.6.26351.113: Pass
2). Windows 11 25H2 AMD64 + dotnet-sdk-11.0.100-preview.7.26327.102: Fail
3). Windows 11 25H2 AMD64 + dotnet-sdk-11.0.100-preview.7.26360.111: Fail

Known Workarounds

No response

Configuration

Application Name: Autodesk Revit 2026, Autodesk Revit 2025
OS: Windows 11 25H2
CPU: X64
.NET Build Number: dotnet-sdk-11.0.100-preview.7.26360.111
App or repro machine checking at: https://devdiv.visualstudio.com/DevDiv/_workitems/edit/3031237

Other information

dotnet --info

.NET SDK:
 Version:           11.0.100-preview.7.26360.111
 Commit:            50dbab4de2
 Workload version:  11.0.100-manifests.9a1cad8c
 MSBuild version:   18.10.0-1.26360.111+50dbab4de

Runtime Environment:
 OS Name:     Windows
 OS Version:  10.0.26100
 OS Platform: Windows
 RID:         win-x64
 Base Path:   C:\Program Files\dotnet\sdk\11.0.100-preview.7.26360.111\

.NET workloads installed:
There are no installed workloads to display.
Configured to use workload sets when installing new manifests.
No workload sets are installed. Run "dotnet workload restore" to install a workload set.

Host:
  Version:      11.0.0-preview.7.26360.111
  Architecture: x64
  Commit:       50dbab4de2

.NET SDKs installed:
  11.0.100-preview.7.26360.111 [C:\Program Files\dotnet\sdk]

.NET runtimes installed:
  Microsoft.AspNetCore.App 11.0.0-preview.7.26360.111 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 11.0.0-preview.7.26360.111 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.WindowsDesktop.App 11.0.0-preview.7.26360.111 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]

@dotnet-actwx-bot @dotnet/compat

Metadata

Metadata

Assignees

Type

No type

Fields

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