C#C
C#7mo ago
noname7777

✅ Use WinForms in service worker project

VSCodium with Omnisharp
.NET 9

Why use a GUI library in a service?
To configure it.

I cannot figure out how to reference the System.Windows.Forms.dll.
I have tried:
Putting using System.Windows.Forms at the top of a file.
Putting <UseWindowsForms>true</UseWindowsForms> in my csproj file.

Every tutorial I could find assumed that the user was using Visual Studio, so they weren't much help.
I am aware that this is going to be difficult.

Any pointers would be greatly appreciated, thanks!
Was this page helpful?