Skip to content

[dotnet-sdk-10.0.100-preview.2.25126.21] Autodesk Revit 2025 pop up error report when opening a ".rvt" file. #113158

@Junjun-zhao

Description

@Junjun-zhao

Description

When run the 3rd party application with the latest .NET 10 build, it failed to open a ".rvt" file. It seems caused by the Assembly version conflicts in the App between .NET 8 and .NET 10 like #113735. Could you please confirm if this issue in .NET? Thanks.

Reproduction Steps

Repro steps:(The machine only has the .NET 10 Preview 2 runtime and set environment variables "DOTNET_ROLL_FORWARD_ON_NO_CANDIDATE_FX=2"):
Please get the repro machine Devdiv

  1. Launch Revit 2025.exe.
  2. Click "Open..." button in Models.
  3. Input "C:\Users\test01\Desktop\rme_basic_sample_project.rvt" in "File name".
  4. Click "Open" button and wait a moment.

Expected behavior

File successfully opened.

Image

Actual behavior

Pop up error report. (ErrorDetail.zip attached contains the app crash dump and log files)

Image

Regression?

1). Windows 10 21H2 AMD64 + dotnet-sdk-8.0.406: Pass
2). Windows 10 21H2 AMD64 + dotnet-sdk-10.0.100-preview.2.25126.21: Fail
3). Windows 10 22H2 AMD64 + dotnet-sdk-9.0.200: Fail
4). Windows 10 22H2 AMD64 + dotnet-sdk-10.0.100-preview.1.25120.13: Fail

Known Workarounds

No response

Configuration

Application Name: Autodesk Revit 2025
OS: Windows 10 22H2
CPU: X64
.NET Build Number: dotnet-sdk-10.0.100-preview.2.25126.21
Repro machine information checking at: https://devdiv.visualstudio.com/DevDiv/_workitems/edit/2409036

Other information

Findings:
The application log from the application local app data folder (attached in ErrorDetail.zip) shows there are module conflicts between .NET 8 and .NET 10:

API_ERROR { : Assembly version conflict in some references in Autodesk.BatchPrint.Application.dll assembly
'Addin's module System.Runtime of version 8.0.0.0 conflicts with same preloaded module of version 10.0.0.0
'Addin's module System.Runtime.InteropServices of version 8.0.0.0 conflicts with same preloaded module of version 10.0.0.0
'Addin's module System.Windows.Forms of version 8.0.0.0 conflicts with same preloaded module of version 10.0.0.0
'Addin's module System.ComponentModel.Primitives of version 8.0.0.0 conflicts with same preloaded module of version 10.0.0.0
'Addin's module System.Windows.Forms.Primitives of version 8.0.0.0 conflicts with same preloaded module of version 10.0.0.0
'Addin's module System.Drawing.Primitives of version 8.0.0.0 conflicts with same preloaded module of version 10.0.0.0
'Addin's module RevitAPIUI of version 25.0.0.0 conflicts with same preloaded module of version 25.4.0.0
'Addin's module RevitAPI of version 25.0.0.0 conflicts with same preloaded module of version 25.4.0.0
'Addin's module System.Diagnostics.Process of version 8.0.0.0 conflicts with same preloaded module of version 10.0.0.0
'Addin's module System.Drawing.Common of version 8.0.0.0 conflicts with same preloaded module of version 10.0.0.0
'Addin's module System.Collections of version 8.0.0.0 conflicts with same preloaded module of version 10.0.0.0
'Addin's module System.Xml.ReaderWriter of version 8.0.0.0 conflicts with same preloaded module of version 10.0.0.0
'Addin's module System.ComponentModel.TypeConverter of version 8.0.0.0 conflicts with same preloaded module of version 10.0.0.0
'Addin's module System.Threading.Thread of version 8.0.0.0 conflicts with same preloaded module of version 10.0.0.0
'Addin's module System.ComponentModel of version 8.0.0.0 conflicts with same preloaded module of version 10.0.0.0
'Addin's module System.Diagnostics.TraceSource of version 8.0.0.0 conflicts with same preloaded module of version 10.0.0.0
'Addin's module UserInterfaceUtility of version 25.0.0.0 conflicts with same preloaded module of version 25.4.0.0
'Addin's module System.Linq of version 8.0.0.0 conflicts with same preloaded module of version 10.0.0.0
'Addin's module System.Threading of version 8.0.0.0 conflicts with same preloaded module of version 10.0.0.0 }

dotnet info:

.NET SDK:
 Version:           10.0.100-preview.2.25126.21
 Commit:            f4f293c695
 Workload version:  10.0.100-manifests.849cb335
 MSBuild version:   17.14.0-preview-25126-06+e18e7f0af

Runtime Environment:
 OS Name:     Windows
 OS Version:  10.0.19045
 OS Platform: Windows
 RID:         win-x64
 Base Path:   C:\Program Files\dotnet\sdk\10.0.100-preview.2.25126.21\

Host:
  Version:      10.0.0-preview.2.25125.14
  Architecture: x64
  Commit:       143f7e2ca0

.NET SDKs installed:
  10.0.100-preview.2.25126.21 [C:\Program Files\dotnet\sdk]

.NET runtimes installed:
  Microsoft.AspNetCore.App 10.0.0-preview.2.25126.5 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 10.0.0-preview.2.25125.14 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.WindowsDesktop.App 10.0.0-preview.2.25126.2 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]

@dotnet-actwx-bot @dotnet/compat

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-ExceptionHandling-coreclronly use for closed issuesin-prThere is an active PR which will close this issue when it is merged

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions