After fighting for quite some hours now, I think it's time to ask for some help. I'm quite new on C# development and Visual Studio environment so maybe it's something really stupid I have missed. I also searched for some answers and try some solutions (install SDK, change some thing on VS) but nothing helped. Anyway here is the problem...
I developed a small WPF application that is working great in Visual Studio. No errors, nothing. Compilation? Same. No error. Publishing? No error. When I try to launch the .exe file generated... Well nothing happens. I see my mouse cursor with the waiting cursor. The exe file is visible in my task manager and stay there until I restart my computer. When I try to kill it using the task manager, I have an error saying that I can't. When I try by using taskkill command line, it says the process does not exist...
As I expected something wrong with my app, I just created a blank WPF app, saved it and built it. So we can't make easier. And same problem. So I guess the problem is coming from some configuration in Visual Studio or something like that...
If anybody has an idea or some tips to debug the compiled app (there must be some error thrown somewhere I guess) I'll be so grateful.
Regards.
Edit
Some notes:
- Even the simple WPF application that only displays an empty WPF form has the problem.
- Output Type is "Windows Application"
- I try to use the compiled app on the same machine as I developed it.