Hi @iLens ,
You need to make sure that the created project is Windows Forms Control library and Windows Forms App.
Or Windows Forms Control library (.net framework) and Windows Forms App (.net framework).
Mismatched frameworks will cause the error you're getting.
Best Regards.
Jiachen Li
----------
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.