Hello! I have a simple application developed in Windows Forms with C# and recently I changed machines. So when I cloned my application from github to my new machine and tried to compile it, it all went well (no errors whatsoever). Except that my application freezes and won't start unless a debugging session is active (which makes my application undistributable and even unable to run without VS and debugging).
Visual Studio freezes as well and the binaries (.exe, .obj, etc) get all locked down by System and I can't delete them unless i restart my computer. I can't even kill the tasks through console using their PIDs. I can kill VS though and VSBuild, etc.
I have no extra packages installed nor any fancy stuff going on, it's simply a forms application that calls another process, and it works swell with the debugger attached to it (configuration, running, closing, everything).
One thing to note is that on my previous PC the project path was different, but i can say that i fixed every single project configuration to the current path it is in.
Does anyone knows what is this all about? If anyones needs to test it here's it's repo:
Github
Pardon the messy code, i will fix it later as it is just for testing.
Thank you!