Note that there are some explanatory texts on larger screens.

plurals
  1. POC# WinForms App won't run on Win7 after Building
    text
    copied!<p>I have a program that I built that reads and writes files. I built it in Release mode, then tried to run the exe on Win7. At first, with troubleshooting on, Windows simply told me the application closed and it was looking for a solution. After a few seconds, the dialog would disappear and show nothing more.</p> <p>So with some significant effort I got the debugger attached to the process, but it was only showing me disassembly, which tells me that the error taking place wasn't in my application code, but in the framework somewhere. </p> <p>The strange thing is that when I let the debugger attach, then press "stop" in VS, and exit the debugger, the program actually runs at that point!</p> <p>So now I'm stumped. I have an application that builds, that seems to be having a permission error when I run it, but if I let the debugger attach then close it, it runs, and there's no Exception to really look at. </p> <p>How I troubleshoot this issue?</p> <p>Edit: Responding to Merlyn:</p> <p>It's a custom app written from scratch in c#. The only dependency it has outside of core .NET namespaces is the Ionic.Zip DLL.</p> <p>Visual Studio 2008 (Writing in C# 3.5) Windows 7 - Home Premium, v6.1 build 7600 CPU - x64 quad core CPU are you compiling under: Any CPU</p> <p>I haven't tried it on another machine or a different version of VS.</p> <p>Edit: I was able to try the compiled version on another win7 computer, and it worked without issue, so it looks like a security (?) issue on my computer only.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload