© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
How to avoid error 'MessageBox' is an ambiguous reference between 'System.Windows.Forms.MessageBox' - C#
C
C#
•
11mo ago
•
19 replies
Beast
How to avoid error 'MessageBox' is an ambiguous reference between 'System.Windows.Forms.MessageBox'
So basically I wanted to use Folder Open Dialog in wpf so I had to add reference to windows forms but now im getting this error message
C#
Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
62,470
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
❔ How to reference older versions of system.windows.forms?
C
C# / help
4y ago
system.windows.forms error
C
C# / help
4y ago
✅ Resolving an ambiguous assembly reference
C
C# / help
3y ago
❔ Nonsense Ambiguous Reference
C
C# / help
3y ago