C
C#2mo ago
Sleepy

✅ How do I add system.windows.forms?

I’m still really new to c# but it’s my understanding that I need to add system.windows.forms to visual studio before I can make use of it to add a button (my end goal). How do I add it to visual studio?
3 Replies
Buddy
Buddy2mo ago
And if you want to just enable Winforms, it's enabled in the csproj in .NET https://learn.microsoft.com/en-us/dotnet/core/project-sdk/msbuild-props-desktop#enable-net-desktop-sdk Specifically
<UseWindowsForms>true</UseWindowsForms>
<UseWindowsForms>true</UseWindowsForms>
Sleepy
Sleepy2mo ago
Thank you!
Want results from more Discord servers?
Add your server