© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
1 reply
stigzler

❔ How to reference older versions of system.windows.forms?

Hello all. Daft question: how do I choose what version of system.windows.forms my project compiles with. Presently it does so with 4.0.0.0 which breaks 3rd party libraries I'm using due to their use of ContextMenu. I've tried lowering my Framework version, but it still seems to build with 4.0. Also, wanting to stick with Framework, not Core...
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

system.windows.forms error
C#CC# / help
4y ago
✅ How do I add system.windows.forms?
C#CC# / help
2y ago
How to avoid error 'MessageBox' is an ambiguous reference between 'System.Windows.Forms.MessageBox'
C#CC# / help
9mo ago