Hey @Jack-Ji and thanks for your message!
I just tried the tutorial from the Readme with Visual Studio 2017 and for me it works.
Please try to delete any possible references from the designer class and close visual studio. Reopen it and clean & rebuild your solution. Then try again to place the generated DrawTest control directly onto the form.
Trying this with VS17 helped me to find a different (and interesting) bug by the way:
I don't know why it is like that but when creating a MonoGame control the
OnCreateControl() function is getting called 2 times instead of 1 time like in VS15, but the second time it getting called the ClientSize.Width and ClientSize.Height are both 0, which leads to a -> System.ArgumentOutOfRangeException: "Texture width must be greater than zero" in the
For me this is a weired behavior of VS17. Does anyone know why VS17 is doing this? Would be nice to know.
Anyway, I will push a fix soon by checking that the ClientSize is greater than 0 before creating the control.
Edit: The fix is up! Corresponding nuget packages are updated accordingly.