WinForm crashes Visual Studio in Design Time
New DiscussionHi,
i have a very big form with a lot of Infragistics-Tools, changed it several times, all worked very good … but since today i am not able to open the form in design time – visual studio needs some time to open and after displaying the form with no response visual studio crashes und restarts.
In the windows logfile i found the following errormessge:
Anwendung: devenv.exe
Frameworkversion: v4.0.30319
Beschreibung: Der Prozess wurde aufgrund einer unbehandelten Ausnahme beendet.
Ausnahmeinformationen: System.ArgumentNullException
bei Infragistics.Win.UIAutomation.Stubs.EditorControlUIAProviderStub..ctor(Infragistics.Win.UltraControlBase, Infragistics.Win.EmbeddableEditorBase, Infragistics.Win.EmbeddableEditorOwnerBase)
bei Infragistics.Win.UltraWinEditors.UltraToggleEditorBase.CreateUIAutomationProvider(System.Object)
bei Infragistics.Win.UltraControlBase.get_UIAutomationProvider()
bei Infragistics.Win.UIAutomation.UiaProviderControlNativeWindow.WndProc(System.Windows.Forms.Message ByRef)
bei System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr, Int32, IntPtr, IntPtr)
Anything happens in the ctor of EditorControlUIAProviderStub => ArgumentNullException
I have tried almost everything:
- Copy design-code to a new form
- Creating a new solution with one form an this designcode
- restored 1 year old code with a older version of this form => same error
- Reinstal Visual Studio
- upgrade Visual Studio von 2019 to 2022
- Reinstall Infragistics Tools 2020.2
always the same problem, Visual Studio crashes
I am running out of ideas und would realy appreciate any help.
THANKS,
Mike