Context:
Visual Studio 10, Win 10, developping an Winform application in VB.Net
Issue:
I can't add a webview control to my forms and lots of other controls are grayed out
Cause:
Following the answer of sribasu here, it seems that this issue found its origin in the fact that my app was a "Windows Form App" instead of "Windows Form App (.NET platform)" (sorry, i use VS 2019 in French, not sure about the translation
Question:
Is there a way to convert my project to be able to use controls like Webview?
CodePudding user response:
Ok, i found something on Microsoft forums.
To change the project type, edit the vbproj file of the project, find the line with TargetFramework and edit it like this:
<TargetFramework>net472</TargetFramework>
There could be some things that won't compile though. -_-