I am using Visual Studio 2019, creating a Visual basic Project using "Windows Forms App (.NET)" as the project template.
This happens right after I create the project and haven't added any additional code. When I try and create a textbox on the form, Visual Studio provides the following error (ERROR 1):
Also, the following error comes up if I try and drag the control from the ToolBox directly onto the default form (ERROR 2):
The key part of this error from what I can tell is "Failed to set Win32 parent window of the Control." I was previously trying to create some mobile apps using Xamarin (mentioned this because xmarin had a buggy GUI) however, this is happening after rebooting the machine, starting up visual studio, and creating a project using "Windows Forms App (.NET)" as the project template. This has worked in the past so it's coincidental it started happening after I was trying to use xmarin in a separate project/solution.
====
UPDATE: When creating a project template using "Windows Forms App (.NET Framework)", with the added "Framework" at the end, I'm able to draw the textbox on the form (First error is not happening). Still not able to drag directly onto the form. Still getting the second error "Object Reference not set to an instance of an object".
Not sure what the difference between "Windows Forms App (.NET Framework)" and "Windows Forms App (.NET)" is in the project templates.
====
Any help or ideas please let me know.
Jeff


