© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•5mo ago•
49 replies
Rockraizer

MessageBox.Shown() only pop up in debug mode.

I have published a WPF app and I have tested if the message box show up in release mode but on some PCs it's not popping up on mine it's working.
What can cause the problem in this case? I tried to change the target runtime also but not worked.
wpfcode.txt2.53KB
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

❔ What is the purpose of `ModelBindingContext.Model`, `ModelName`, and `ModelBinderAttribute.Name`?
C#CC# / help
3y ago
Include directory only in DEBUG.
C#CC# / help
14mo ago
✅ DialogResult and MessageBox in class (namespace)
C#CC# / help
3y ago