WPF app not starting silently

stephen Makumbi 5 Reputation points
2024-06-05T08:40:27.6333333+00:00

Hi Folks,

I have this strange problem:

I created a new WPF project, when I press the Run button the app seems to start for bit, by briefly flashing a white screen and then immediately exists.

There are no errors flagged other than a return code of 0, I believe meaning the app exited properly.

I have tried looking in the events lists, no signs of my app there.

Can anybody please help me debug the cause of this?

Many Thanks

Stephen

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,933 questions
Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,787 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,626 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,210 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
1,005 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.