Skip to content

[dotnet-sdk-10.0.100-preview.2.25126.21] Autodesk Revit 2025 pop up error window when opening Dynamo #113735

Closed

Description

@Junjun-zhao

Description

When run the Autodesk Revit 2025 application with the latest .NET 10 build, it failed to open Dynamo window. It seems caused by the Assembly version conflicts in the App between .NET 8 and .NET 10. Could you please confirm if this issue is 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 form DevDiv

  1. Launch Revit 2025.exe.
  2. If the “Options” window pops up, click the “Close” button.
  3. Click “New …” button in “FAMILIES” area.
  4. Navigate to Desktop and open file “Mass.rft".
  5. Waiting for model upgrade complete.
  6. Go to Manage Tab and click Dynamo.

Expected behavior

Agreements for Data Collection window will appear.
Image

After clicking Continue button on Agreements for Data Collection window, the Dynamo window will be opened.
Image

Actual behavior

Agreement for Data Collection window and Dynamo window are not pop up, an error window shows with below error message:

ProtoCore.Exceptions.CompilerInternalException
   at ProtoCore.Utils.Validity.Assert(Boolean cond)
   at ProtoCore.AssociativeEngine.Utils.IsGlobalScopeDirty(Executable exe)
   at ProtoScript.Runners.LiveRunner.ApplyUpdate()
   at ProtoScript.Runners.LiveRunner.PostExecution()
   at ProtoScript.Runners.LiveRunner.CompileAndExecuteForDeltaExecution(String code)
   at ProtoScript.Runners.LiveRunner.SynchronizeInternal(String code)
   at ProtoScript.Runners.LiveRunner.ResetVMAndResyncGraph(IEnumerable`1 libraries)
   at Dynamo.Engine.LiveRunnerServices.ReloadAllLibraries(IEnumerable`1 libraries)
   at Dynamo.Engine.EngineController.OnLibraryLoaded()
   at Dynamo.Engine.EngineController..ctor(LibraryServices libraryServices, String geometryFactoryFileName, Boolean verboseLogging)
   at Dynamo.Models.DynamoModel.ResetEngineInternal()
   at Dynamo.Models.DynamoModel..ctor(IStartConfiguration config)
   at Dynamo.Applications.Models.RevitDynamoModel..ctor(IRevitStartConfiguration configuration)
   at Dynamo.Applications.Models.RevitDynamoModel.Start(IRevitStartConfiguration configuration)
   at Dynamo.Applications.DynamoRevit.InitializeCoreModel(DynamoRevitCommandData commandData)
   at Dynamo.Applications.DynamoRevit.LoadDynamoWithoutSplashScreen()
   at Dynamo.Applications.DynamoRevit.ExecuteCommand(DynamoRevitCommandData commandData)

Regression?

Verify Scenarios:
1). Windows 10 22H2 AMD64 + dotnet-sdk-8.0.406: Pass
2). Windows 10 22H2 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

Other information

Findings:
When debugging with Windbg, we found below exception captured by Windbg (the full log in Windbg attached as WindbgLog.txt ):

ModLoad: 0000022a`4e9f0000 0000022a`4ea06000   C:\Program Files\Autodesk\Revit 2025\AddIns\DynamoForRevit\DynamoFeatureFlags\LaunchDarkly.CommonSdk.dll
(3cf4.bbc): CLR exception - code e0434352 (first chance)
(3cf4.bbc): CLR exception - code e0434352 (first chance)
ModLoad: 00007ffd`54dd0000 00007ffd`5500a000   C:\Program Files\dotnet\shared\Microsoft.NETCore.App\10.0.0-preview.2.25125.14\Microsoft.DiaSymReader.Native.amd64.dll
ModLoad: 0000022a`4ea10000 0000022a`4ea32000   C:\Program Files\Autodesk\Revit 2025\AddIns\DynamoForRevit\DynamoFeatureFlags\LaunchDarkly.ClientSdk.dll
ModLoad: 0000022a`4ced0000 0000022a`4ceda000   C:\Program Files\dotnet\shared\Microsoft.NETCore.App\10.0.0-preview.2.25125.14\System.Xml.ReaderWriter.dll
ModLoad: 00007ffd`914c0000 00007ffd`91c40000   C:\Program Files\dotnet\shared\Microsoft.NETCore.App\10.0.0-preview.2.25125.14\System.Private.Xml.dll
ModLoad: 00007ffd`febe0000 00007ffd`fec05000   C:\Program Files\dotnet\shared\Microsoft.NETCore.App\10.0.0-preview.2.25125.14\System.Memory.dll
ModLoad: 00007ffd`da720000 00007ffd`da75c000   C:\Program Files\dotnet\shared\Microsoft.NETCore.App\10.0.0-preview.2.25125.14\System.Private.Uri.dll
ModLoad: 00007ffe`22890000 00007ffe`22abe000   C:\Windows\SYSTEM32\icu.dll
ModLoad: 00007ffd`5d820000 00007ffd`5d8f4000   C:\Program Files\dotnet\shared\Microsoft.NETCore.App\10.0.0-preview.2.25125.14\System.Collections.Immutable.dll
onecore\windows\core\console\open\src\server\devicecomm.cpp(149)\conhost.exe!00007FF61052113B: (caller: 00007FFE2E4B7374) ReturnHr(1) tid(4060) 800700E9 No process is on the other end of the pipe.
(3cf4.1fd8): CLR exception - code e0434352 (first chance)
ntdll!RtlUserThreadStart:
00007ffe`2f01cc70 4883ec78        sub     rsp,78h

The application log from the application local app data folder (attached as journal.0010.txt) shows there are module conflicts between .NET 8 and .NET 10:

' 0:< API_SUCCESS { Starting External Application: Dynamo For Revit, Class: Dynamo.Applications.VersionLoader, Vendor : ADSK(Dynamo), Assembly: Revit/DynamoRevitVersionSelector.dll,  Assembly Version: 3.3.0.6523 }
' 0:< API_ERROR { : Assembly version conflict in some references in Autodesk.DynamoPlayerForRevit.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.Linq 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.Threading of version 8.0.0.0 conflicts with same preloaded module of version 10.0.0.0
'Addin's module PresentationCore of version 8.0.0.0 conflicts with same preloaded module of version 10.0.0.0 }
' 0:< API_SUCCESS { Replacing command id 'ID_PLAYLIST_DYNAMO' CanExecute implementation with implementation from application 'Application Dynamo Player For Revit' dll 'C:\Program Files\Autodesk\Revit 2025\AddIns\DynamoPlayerForRevit\Autodesk.DynamoPlayerForRevit.Application.dll'. }

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

Activity

  1. added
    untriaged
    on Mar 5, 2025
  2. jeffschwMSFT commented on Mar 5, 2025

    @jeffschwMSFT
    Member

    same comment as #113158

  3. jeffschwMSFT commented on Mar 6, 2025

    @jeffschwMSFT
    Member

    I took a look, as this is from our app compat lab. ;)

    This issue is subtle and the apps fails on both 9.* and 10.*. Here is what I have seen thus far.

    On .NET 10, the app fails as a DSExecutable is null at this callstack

    0:000> !clrstack
    OS Thread Id: 0x1740 (0)
            Child SP               IP Call Site
    0000008308DCA780 00007ffe2c92b699 [InlinedCallFrame: 0000008308dca780] System.Runtime.ExceptionServices.InternalCalls.g____PInvoke|0_0(System.Runtime.StackFrameIterator*, Void*, Int32, Boolean*)
    0000008308DCA780 00007ffda7ed7665 [InlinedCallFrame: 0000008308dca780] System.Runtime.ExceptionServices.InternalCalls.g____PInvoke|0_0(System.Runtime.StackFrameIterator*, Void*, Int32, Boolean*)
    0000008308DCA750 00007ffda7ed7665 System.Runtime.EH.DispatchEx(System.Runtime.StackFrameIterator ByRef, ExInfo ByRef)
    0000008308DCA870 00007ffda84047a6 System.Runtime.EH.RhThrowEx(System.Object, ExInfo ByRef)
    0000008308DCC0C0 00007ffd9235f123 [SoftwareExceptionFrame: 0000008308dcc0c0] 
    0000008308DCC6D0 00007ffda99895e9 ProtoCore.Utils.Validity.Assert(Boolean)
    0000008308DCC710 00007ffda9ab6efc ProtoCore.AssociativeEngine.Utils.IsGlobalScopeDirty(ProtoCore.DSASM.Executable)
    0000008308DCC7C0 00007ffda9ab6d07 ProtoScript.Runners.LiveRunner.ApplyUpdate()
    0000008308DCC830 00007ffda9ab6c8e ProtoScript.Runners.LiveRunner.PostExecution()
    0000008308DCC860 00007ffda9ab62ec ProtoScript.Runners.LiveRunner.CompileAndExecuteForDeltaExecution(System.String)
    0000008308DCC890 00007ffda9ab6268 ProtoScript.Runners.LiveRunner.SynchronizeInternal(System.String)
    0000008308DCC8D0 00007ffda9ab591e ProtoScript.Runners.LiveRunner.ResetVMAndResyncGraph(System.Collections.Generic.IEnumerable`1<System.String>)
    0000008308DCC9E0 00007ffda9ab562b Dynamo.Engine.LiveRunnerServices.ReloadAllLibraries(System.Collections.Generic.IEnumerable`1<System.String>)
    0000008308DCCA10 00007ffda9ab5573 Dynamo.Engine.EngineController.OnLibraryLoaded()
    0000008308DCCA60 00007ffda9ab2f5f Dynamo.Engine.EngineController..ctor(Dynamo.Engine.LibraryServices, System.String, Boolean)
    0000008308DCCAF0 00007ffda9ab2979 Dynamo.Models.DynamoModel.ResetEngineInternal()
    0000008308DCCC40 00007ffda995d311 Dynamo.Models.DynamoModel..ctor(IStartConfiguration)
    0000008308DCD5D0 00007ffda995aadc Dynamo.Applications.Models.RevitDynamoModel..ctor(IRevitStartConfiguration)
    0000008308DCD610 00007ffda995aa5a Dynamo.Applications.Models.RevitDynamoModel.Start(IRevitStartConfiguration)
    0000008308DCD650 00007ffda99535c2 Dynamo.Applications.DynamoRevit.InitializeCoreModel(Dynamo.Applications.DynamoRevitCommandData)
    0000008308DCD820 00007ffda9951436 Dynamo.Applications.DynamoRevit.LoadDynamoWithoutSplashScreen()
    0000008308DCD900 00007ffda99507a1 Dynamo.Applications.DynamoRevit.ExecuteCommand(Dynamo.Applications.DynamoRevitCommandData)
    0000008308DCDA30 00007ffda9950477 Dynamo.Applications.DynamoRevitApp.ExecuteDynamoCommand(System.Collections.Generic.IDictionary`2<System.String,System.String>, Autodesk.Revit.UI.UIApplication)
    0000008308DCDA80 00007ffda994edf1 Dynamo.Applications.DynamoRevitApp.executed(System.Object, Autodesk.Revit.UI.Events.ExecutedEventArgs)
    0000008308DCDAD0 00007ffda994d797 .EventExecutorBase<ExecutedEventArgs,Autodesk::Revit::UI::Events::ExecutedEventArgs>.ExecuteHandlers(System.Object, ExecutedEventArgs*, Autodesk.Revit.UI.Events.ExecutedEventArgs, System.Delegate)
    0000008308DCDD80 00007ffda990eea0 .apiUIManagedApplicationRaiseOnEvent(RevitEventArgs*)
    0000008308DCE090 00007ffda990e2f0 .APIUICommandEventObserver.handleEvent(APIUICommandEventObserver*, CommandEventArgs*)
    0000008308DCE150 00007ffda990e172 ILStubClass.IL_STUB_ReversePInvoke(APIUICommandEventObserver*, CommandEventArgs*)
    0000008308DCE1E0 00007ffda990e047 [InlinedCallFrame: 0000008308dce1e0] 
    0000008308DCE1B0 00007ffda990e047 .SelfRegisteringEventObserver.handleBaseEvent(SelfRegisteringEventObserver*, MutableEvent*)
    0000008308DCE270 00007ffda990dea2 ILStubClass.IL_STUB_ReversePInvoke(SelfRegisteringEventObserver*, MutableEvent*)
    0000008308DCE848 00007ffdc7593d8b [InlinedCallFrame: 0000008308dce848] 
    0000008308DCE848 00007ffda8f0bc4a [InlinedCallFrame: 0000008308dce848] 
    0000008308DCE820 00007ffda8f0bc4a ILStubClass.IL_STUB_PInvoke(IntPtr, CoreId*, CommandOriginInfo*)
    0000008308DCE8E0 00007ffda8f0bb6a UIFrameworkServices.CommandHandlerService.invokeCommandHandler(System.String)
    0000008308DCE950 00007ffda994a2c4 UIFramework.CommandUtility.Execute(Autodesk.Windows.RibbonCommandItem)
    0000008308DCE9D0 00007ffda994a144 UIFramework.RibbonGenericHandler.Execute(System.Object)
    0000008308DCEA00 00007ffda994a0d8 UIFramework.RibbonGlobalHandler.Execute(System.Object)
    0000008308DCEA40 00007ffda9949ea1 Autodesk.Windows.InternalCommands.OnExecuteGenericCommand(System.Object, System.Windows.Input.ExecutedRoutedEventArgs)
    0000008308DCEB90 00007ffd8b810b8f System.Windows.Input.CommandBinding.OnExecuted(System.Object, System.Windows.Input.ExecutedRoutedEventArgs)
    0000008308DCEBE0 00007ffda8bce0ba System.Windows.Input.CommandManager.FindCommandBinding(System.Object, System.Windows.RoutedEventArgs, System.Windows.Input.ICommand, Boolean)
    0000008308DCECE0 00007ffd8b812891 System.Windows.Input.CommandManager.OnExecuted(System.Object, System.Windows.Input.ExecutedRoutedEventArgs)
    0000008308DCED20 00007ffda8bcd78d System.Windows.RoutedEventArgs.InvokeHandler(System.Delegate, System.Object)
    0000008308DCED70 00007ffda8be29b2 System.Windows.EventRoute.InvokeHandlersImpl(System.Object, System.Windows.RoutedEventArgs, Boolean)
    0000008308DCEE10 00007ffda8be177f System.Windows.UIElement.RaiseEventImpl(System.Windows.DependencyObject, System.Windows.RoutedEventArgs)
    0000008308DCEE70 00007ffd8b81a320 System.Windows.Input.RoutedCommand.ExecuteImpl(System.Object, System.Windows.IInputElement, Boolean)
    0000008308DCEEE0 00007ffd8c0b3afa MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(System.Windows.Input.ICommandSource, Boolean)
    0000008308DCEF40 00007ffda9948d51 Autodesk.Private.Windows.ComboButton.OnClick()
    0000008308DCF090 00007ffd8c47c01c System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(System.Windows.Input.MouseButtonEventArgs)
    0000008308DCF0D0 00007ffda8bcd78d System.Windows.RoutedEventArgs.InvokeHandler(System.Delegate, System.Object)
    0000008308DCF120 00007ffda8be29b2 System.Windows.EventRoute.InvokeHandlersImpl(System.Object, System.Windows.RoutedEventArgs, Boolean)
    0000008308DCF1C0 00007ffda992eea2 System.Windows.UIElement.ReRaiseEventAs(System.Windows.DependencyObject, System.Windows.RoutedEventArgs, System.Windows.RoutedEvent)
    0000008308DCF230 00007ffda8bcd78d System.Windows.RoutedEventArgs.InvokeHandler(System.Delegate, System.Object)
    0000008308DCF280 00007ffda8be29b2 System.Windows.EventRoute.InvokeHandlersImpl(System.Object, System.Windows.RoutedEventArgs, Boolean)
    0000008308DCF320 00007ffda8be177f System.Windows.UIElement.RaiseEventImpl(System.Windows.DependencyObject, System.Windows.RoutedEventArgs)
    0000008308DCF380 00007ffda95964b2 System.Windows.UIElement.RaiseTrustedEvent(System.Windows.RoutedEventArgs)
    0000008308DCF3C0 00007ffda95985ca System.Windows.Input.InputManager.ProcessStagingArea()
    0000008308DCF460 00007ffda9909832 System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr, System.Windows.Input.InputMode, Int32, System.Windows.Input.RawMouseActions, Int32, Int32, Int32)
    0000008308DCF580 00007ffda8b376d8 System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr, MS.Internal.Interop.WindowMessage, IntPtr, IntPtr, Boolean ByRef)
    0000008308DCF620 00007ffda8b36b2d System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
    0000008308DCF6A0 00007ffda8b35a57 MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object)
    0000008308DCF740 00007ffda8b34cf5 System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
    0000008308DCF7A0 00007ffda8b34af8 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
    0000008308DCF7F0 00007ffda8b354fb System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32)
    0000008308DCF880 00007ffda8b34fd7 MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr)
    0000008308DCF970 00007ffd327b4db7 ILStubClass.IL_STUB_ReversePInvoke(Int64, Int32, Int64, Int64)
    

    Looking at 8, this object is set at this callstack.

    0:000> !clrstack
    OS Thread Id: 0x3904 (0)
            Child SP               IP Call Site
    00000030F91AC4A8 00007ffdf912e190 ProtoCore.Core.set_DSExecutable(ProtoCore.DSASM.Executable)
    00000030F91AC4B0 00007ffdf912d4b9 ProtoCore.Core.GenerateExecutable()
    00000030F91AC6A0 00007ffdf9127226 ProtoScript.Runners.ProtoScriptRunner.CompileAndGenerateExe(System.String, ProtoCore.Core, ProtoCore.CompileTime.Context)
    00000030F91AC6E0 00007ffdf9127179 ProtoScript.Runners.LiveRunner.CompileAndExecute(System.String)
    00000030F91AC740 00007ffdf9126bec ProtoScript.Runners.LiveRunner.CompileAndExecuteForDeltaExecution(System.String)
    00000030F91AC770 00007ffdf9126b78 ProtoScript.Runners.LiveRunner.SynchronizeInternal(System.String)
    00000030F91AC7B0 00007ffdf912620e ProtoScript.Runners.LiveRunner.ResetVMAndResyncGraph(System.Collections.Generic.IEnumerable`1<System.String>)
    00000030F91AC8C0 00007ffdf9125f1b Dynamo.Engine.LiveRunnerServices.ReloadAllLibraries(System.Collections.Generic.IEnumerable`1<System.String>)
    00000030F91AC8F0 00007ffdf9125e68 Dynamo.Engine.EngineController.OnLibraryLoaded()
    00000030F91AC940 00007ffdf91233f1 Dynamo.Engine.EngineController..ctor(Dynamo.Engine.LibraryServices, System.String, Boolean)
    00000030F91AC9D0 00007ffdf9122df9 Dynamo.Models.DynamoModel.ResetEngineInternal()
    00000030F91ACB20 00007ffdf8fa3c2f Dynamo.Models.DynamoModel..ctor(IStartConfiguration)
    00000030F91AD4D0 00007ffdf8fa178c Dynamo.Applications.Models.RevitDynamoModel..ctor(IRevitStartConfiguration)
    00000030F91AD510 00007ffdf8fa170a Dynamo.Applications.Models.RevitDynamoModel.Start(IRevitStartConfiguration)
    00000030F91AD550 00007ffdf8f99ebe Dynamo.Applications.DynamoRevit.InitializeCoreModel(Dynamo.Applications.DynamoRevitCommandData)
    00000030F91AD730 00007ffdf8f9782b Dynamo.Applications.DynamoRevit.LoadDynamoWithoutSplashScreen()
    00000030F91AD820 00007ffdf8f96741 Dynamo.Applications.DynamoRevit.ExecuteCommand(Dynamo.Applications.DynamoRevitCommandData)
    00000030F91AD950 00007ffdf8f9641c Dynamo.Applications.DynamoRevitApp.ExecuteDynamoCommand(System.Collections.Generic.IDictionary`2<System.String,System.String>, Autodesk.Revit.UI.UIApplication)
    00000030F91AD9A0 00007ffdf8f94d91 Dynamo.Applications.DynamoRevitApp.executed(System.Object, Autodesk.Revit.UI.Events.ExecutedEventArgs)
    00000030F91AD9F0 00007ffdf8f9370a .EventExecutorBase<ExecutedEventArgs,Autodesk::Revit::UI::Events::ExecutedEventArgs>.ExecuteHandlers(System.Object, ExecutedEventArgs*, Autodesk.Revit.UI.Events.ExecutedEventArgs, System.Delegate)
    00000030F91ADCC0 00007ffdf8bfb708 .apiUIManagedApplicationRaiseOnEvent(RevitEventArgs*)
    00000030F91ADFE0 00007ffdf8bfab29 .APIUICommandEventObserver.handleEvent(APIUICommandEventObserver*, CommandEventArgs*)
    00000030F91AE0B0 00007ffdf8bfa99a ILStubClass.IL_STUB_ReversePInvoke(Int64, Int64)
    00000030F91AE128 00007ffdf8bfa8f0 [InlinedCallFrame: 00000030f91ae128] 
    00000030F91AE100 00007ffdf8bfa8f0 .SelfRegisteringEventObserver.handleBaseEvent(SelfRegisteringEventObserver*, MutableEvent*)
    00000030F91AE1C0 00007ffdf8bfa83a ILStubClass.IL_STUB_ReversePInvoke(Int64, Int64)
    00000030F91AE788 00007ffdc7023d8b [InlinedCallFrame: 00000030f91ae788] 
    00000030F91AE788 00007ffdf5749b9e [InlinedCallFrame: 00000030f91ae788] 
    00000030F91AE760 00007ffdf5749b9e ILStubClass.IL_STUB_PInvoke(IntPtr, CoreId*, CommandOriginInfo*)
    00000030F91AE820 00007ffdf5749ab1 UIFrameworkServices.CommandHandlerService.invokeCommandHandler(System.String)
    00000030F91AE890 00007ffdf8f9048e UIFramework.CommandUtility.Execute(Autodesk.Windows.RibbonCommandItem)
    00000030F91AE910 00007ffdf8f9030b UIFramework.RibbonGenericHandler.Execute(System.Object)
    00000030F91AE940 00007ffdf8f90298 UIFramework.RibbonGlobalHandler.Execute(System.Object)
    00000030F91AE980 00007ffdf8f90060 Autodesk.Windows.InternalCommands.OnExecuteGenericCommand(System.Object, System.Windows.Input.ExecutedRoutedEventArgs)
    00000030F91AEAD0 00007ffd8c55d709 System.Windows.Input.CommandBinding.OnExecuted(System.Object, System.Windows.Input.ExecutedRoutedEventArgs)
    00000030F91AEB20 00007ffdd57ee11a System.Windows.Input.CommandManager.FindCommandBinding(System.Object, System.Windows.RoutedEventArgs, System.Windows.Input.ICommand, Boolean)
    00000030F91AEC10 00007ffd8c55f725 System.Windows.Input.CommandManager.OnExecuted(System.Object, System.Windows.Input.ExecutedRoutedEventArgs)
    00000030F91AEC50 00007ffdd57ed59b System.Windows.RoutedEventArgs.InvokeHandler(System.Delegate, System.Object)
    00000030F91AECA0 00007ffdd58021a2 System.Windows.EventRoute.InvokeHandlersImpl(System.Object, System.Windows.RoutedEventArgs, Boolean)
    00000030F91AED60 00007ffdd5800e8e System.Windows.UIElement.RaiseEventImpl(System.Windows.DependencyObject, System.Windows.RoutedEventArgs)
    00000030F91AEDD0 00007ffd8c56750f System.Windows.Input.RoutedCommand.ExecuteImpl(System.Object, System.Windows.IInputElement, Boolean)
    00000030F91AEE40 00007ffd8ce144ea MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(System.Windows.Input.ICommandSource, Boolean)
    00000030F91AEEA0 00007ffdf8f8f2e2 Autodesk.Private.Windows.ComboButton.OnClick()
    00000030F91AEFD0 00007ffd8d1f1446 System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(System.Windows.Input.MouseButtonEventArgs)
    00000030F91AF010 00007ffdd57ed59b System.Windows.RoutedEventArgs.InvokeHandler(System.Delegate, System.Object)
    00000030F91AF060 00007ffdd58021a2 System.Windows.EventRoute.InvokeHandlersImpl(System.Object, System.Windows.RoutedEventArgs, Boolean)
    00000030F91AF120 00007ffdf8f6a534 System.Windows.UIElement.ReRaiseEventAs(System.Windows.DependencyObject, System.Windows.RoutedEventArgs, System.Windows.RoutedEvent)
    00000030F91AF190 00007ffdd57ed59b System.Windows.RoutedEventArgs.InvokeHandler(System.Delegate, System.Object)
    00000030F91AF1E0 00007ffdd58021a2 System.Windows.EventRoute.InvokeHandlersImpl(System.Object, System.Windows.RoutedEventArgs, Boolean)
    00000030F91AF2A0 00007ffdd5800e8e System.Windows.UIElement.RaiseEventImpl(System.Windows.DependencyObject, System.Windows.RoutedEventArgs)
    00000030F91AF310 00007ffdf8bed33e System.Windows.UIElement.RaiseTrustedEvent(System.Windows.RoutedEventArgs)
    00000030F91AF350 00007ffdf8bd8f3f System.Windows.Input.InputManager.ProcessStagingArea()
    00000030F91AF420 00007ffdf8c32c10 System.Windows.Input.InputProviderSite.ReportInput(System.Windows.Input.InputReport)
    00000030F91AF490 00007ffdf8c3d58d System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr, System.Windows.Input.InputMode, Int32, System.Windows.Input.RawMouseActions, Int32, Int32, Int32)
    00000030F91AF590 00007ffdd575e2c5 System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr, MS.Internal.Interop.WindowMessage, IntPtr, IntPtr, Boolean ByRef)
    00000030F91AF630 00007ffdd575d9d8 System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
    00000030F91AF6B0 00007ffdd575c98c MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object)
    00000030F91AF750 00007ffdd575bba8 System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
    00000030F91AF7B0 00007ffdd575ba48 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
    00000030F91AF800 00007ffdd575c49f System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32)
    00000030F91AF890 00007ffdd575bf40 MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr)
    00000030F91AF980 00007ffd31ce3710 ILStubClass.IL_STUB_ReversePInvoke(Int64, Int32, Int64, Int64)
    

    .NET 9 and 10 never make it to ProtoCore.Core.GenerateExecutable and thus do not set the DSExecutable. I observed a number of parse error exceptions while debugging 10, but there are also a lot of exceptions thrown on 8 so not sure that is relevant. This app will require side by side debugging to understand what changed and/or if that behavior is expected.

  4. Junjun-zhao commented on Mar 6, 2025

    @Junjun-zhao
    MemberAuthor

    Thanks @jeffschwMSFT for your quickly investigation. Could you please confirm if the two issues #113158 and this one are blocker for .NET 10 Preview2?

  5. jeffschwMSFT commented on Mar 6, 2025

    @jeffschwMSFT
    Member

    This impacts .NET 9, so not blocking for 10, imho

  6. jeffschwMSFT commented on Mar 6, 2025

    @jeffschwMSFT
    Member

    Through a process of elimination the behavior change appears to be in Microsoft.WindowsDesktop.App (and potentially WPF/XAML). So moving to WPF

  7. transferred this issue fromdotnet/runtimeon Mar 6, 2025
  8. added and removed
    untriaged
    on Mar 10, 2025
  9. himgoyalmicro commented on Mar 20, 2025

    @himgoyalmicro

    The issue seems to arise from this method ProtoScript.Runners.LiveRunner.CompileAndExecute(System.String). On debugging, we found that the string that was being passed to ProtoScript.Runners.LiveRunner.CompileAndExecute(System.String) contains extra parenthesis as compared to what was being passed in .NET 8 which seems to be happening because of this PR: #96948. Therefore, reassigning it to dotnet runtime team.

  10. ghost added
    needs-area-label
    on Mar 20, 2025
  11. transferred this issue fromdotnet/wpfon Mar 20, 2025
  12. added
    untriaged
    on Mar 20, 2025
  13. removed their assignment
    on Mar 20, 2025
  14. 10 remaining items

  15. added
    tracking-external-issue
    on Mar 24, 2025
  16. dotnet-policy-service commented on Apr 8, 2025

    @dotnet-policy-service
    Contributor

    This issue has been automatically marked no-recent-activity because it has not had any activity for 14 days. It will be closed if no further activity occurs within 14 more days. Any new comment (by anyone, not necessarily the author) will remove no-recent-activity.

  17. dotnet-policy-service commented on Apr 23, 2025

    @dotnet-policy-service
    Contributor

    This issue has been automatically marked no-recent-activity because it has not had any activity for 14 days. It will be closed if no further activity occurs within 14 more days. Any new comment (by anyone, not necessarily the author) will remove no-recent-activity.

  18. dotnet-policy-service commented on May 7, 2025

    @dotnet-policy-service
    Contributor

    This issue has been automatically marked no-recent-activity because it has not had any activity for 14 days. It will be closed if no further activity occurs within 14 more days. Any new comment (by anyone, not necessarily the author) will remove no-recent-activity.

  19. ericstj commented on May 19, 2025

    @ericstj
    Member

    Closing this as by-design.

  20. locked and limited conversation to collaborators on Jun 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area-System.CodeDomneeds-author-actiontracking-external-issue

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions