Hmmm. Was looking at a basic console app a few minutes ago that had to reference image files on a file system (local C: in this case). Sweet I thought, System.Drawing.Image will work here - makes sense really because I’ve used it many times before in both Windows apps and web applications. Tried to add the trusty line “Imports System.Drawing” but System.Drawing wasn’t recognised as a valid namespace.

Now, I’m not a developer by trade and neither have I ever done dev professionally so I assumed this would just work … it didn’t.

The solution is simple though - just add a Reference to System.Drawing (right-click the name of your project, select “Add Reference…” and select System.Drawing from the list). A wee gotcha for the non-pros like me out there.

System.Drawing

Sorted!