While opening program not from Visual Studio, but directly from the bin\Debug\Program.exe, the program simply closes after approx. 10 seconds and then reopens itself again (but it does not close itself again second time). This happens every single time.
I don't know why this happens, tried to check my Antivirus, but the problem was not there.
Anyone knows, what the problem is? (why it closes by itself and reopens)?
P.S. I did not try to install the program yet, as it is still raw work in progress project.
P.S.2 neither App.cs / MainWindow.cs nor any other piece of code is designed to close application (this does not occur when I run it directly from Visual Studio environment)