I've got a .net6 winform. I'm getting the below error when I try to start it. It compiles, so it's a runtime error.
The form has other Infragistics controls as well as the WPF syntax editor.
So my question is 2-fold:
1. When using .net 6, do I still need the WPF syntax editor to use syntax highlighting?
2. Which version of UltraWinEditor should I be using? Cause the System.Windows.Forms assembly is the .net 6 build so it should be fine with the project itself.
************** Exception Text ************** System.MissingMethodException: Method not found: 'System.Windows.Forms.ContextMenu System.Windows.Forms.Control.get_ContextMenu()'. at Infragistics.Win.EmbeddableEditorBase.EnterEditMode(EmbeddableUIElementBase embeddableElement) at Infragistics.Win.UltraWinEditors.TextEditorControlBase.OnEnter(EventArgs e) at Infragistics.Win.UltraWinEditors.UltraComboEditor.OnEnter(EventArgs e) at System.Windows.Forms.ContainerControl.UpdateFocusedControl()
Hello Sean,
Thank you for your post. You are getting get_ContextMenu error makes me think that you are using framework dlls , for the .net5/.net6 and core application you should be using nuget packages instead.
Here is our online help document providing step by step information about how to use nuget packages:
https://es.infragistics.com/help/winforms/nuget-feeds
https://es.infragistics.com/help/winforms/nuget-packages
Try that and let me know if you have any question.
Regards.
Thanks, that did it. I thought the .net5/.net6 were included with the ultimate download. Is that not the case?
You mean packages for .net5/.net6 are included with the ultimate download then yes they are , when you download the control "NuGet Packages" folder will be generated and you can use the packages from this folder to create local feed , Instead of using dlls from the bin folder , which is required for .net framework applications.