Click here to Skip to main content
15,902,938 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
When I go into my C# project file, into the debug folder to get the Exe for the program, when I open the file I get blue screen of death every time...

Why? :(
And I didn't know where else to post this, sorry
Posted
Comments
Richard MacCutchan 11-Jan-12 11:27am    
Could be any of a million reasons. You need to provide a lot more information about your program and what it's doing.
Joel Whatley- 11-Jan-12 11:33am    
Ah ok, the program is a simple word processor, nothing really complex at all..
I'm running on windows 7
and hmm, I just tried opening the one in the release folder, and it opens... But it opens a really old version of the program... what the heck
Richard MacCutchan 11-Jan-12 12:42pm    
The first thing you should do is a complete rebuild to get rid of all the stale code. You can then try debugging and see if that finds the problem.

1 solution

Instead of trying to run the exe from there, I would suggest opening the solution in Visual Studio and try debugging the application. That would be your starting point.
The reason your release build is opening an old version is quite simply that the release build was done when the code-base was intact and there wasn't an error in the code. Either way, open the solution and try debugging form there. There is a clearly a code-based error in the application.
 
Share this answer
 
Comments
Joel Whatley- 11-Jan-12 12:04pm    
Oh, so it's crashing because there's an error in the code?
Thinking about it there might have been one, but I'm sure it was just an unused variable but I'll try it anyway, thanks
fjdiewornncalwe 11-Jan-12 16:40pm    
A good thing to note with application development. Just because code compiles, doesn't mean it will run or do anything even close to what you intend it to do. Always debug code and step through everything making sure that it all does what is supposed to. Write unit tests to help facilitate this process.
RaisKazi 11-Jan-12 22:41pm    
My 5. What a nightmear for Microsoft guys, who probably yet trying to fix this issue of Windows OS. :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900