How to add System.Windows.Forms to C# project in VS 2019

3k Views Asked by At

I'm getting "The type or namespace name 'Forms' does not exist in the namespace 'System.Windows' (are you missing an assembly reference?)" from "using System.Windows.Forms;". Various people on the internet say to add it through a "References" tab in Solution explorer, but for me it's not present:

enter image description here

enter image description here

How do I get the references tab to appear, or how do I otherwise get "using System.Windows.Forms" to work?

0

There are 0 best solutions below