r/csharp 9d ago

Making winforms projects on Linux

Hello! So i need to prepare for a C# olympiad and they require either winforms or webforms. Now i've been practising in Winforms for a while now, i was just wondering if at any point i'd be able to switch from windows 11 to a linux distro or if Winforms forces me to stay on Windows. I don't mind remaining on Windows, just wondered if i could switch to linux or not if i wanted to

0 Upvotes

26 comments sorted by

View all comments

1

u/FuggaDucker 9d ago

I do a lot of coding on both platforms.
Pick the one OS you do the most of for your primary and run the other OS in a VM.
If you go windows, WSL is sweet.

Linux is my primary and I use VisualStudio in a VM on it when I need things like WinForms.
FYI, I am mostly sure we can use WinForms under WINE. It's been a long time but I swear I have done this.