Click here to Skip to main content
15,881,882 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,

Silly question but I have a difference in the Release build and the Debug build of some code. If I perform a Release build the code works(!) if I do a Debug build it doesn't.
I have tried it Exactly the same code (just change the location in Visual Studio) release works, debug does not.
Can anyone shed some light on why?

Glenn
Posted
Comments
CHill60 23-Apr-14 12:57pm    
When you say "does not work", in what way - any error messages?
glennPattonWork3 23-Apr-14 13:00pm    
Sorry! Sorry! Should have removed message, I found it was what I was interfacing to was causing the problem (Ctrl-Z, Undo is wonderful!!)
CHill60 23-Apr-14 13:03pm    
Glad you found the issue!
glennPattonWork3 23-Apr-14 13:16pm    
You are not only one!!

Answered only to remove from unanswered list - solved by OP.
 
Share this answer
 
Comments
glennPattonWork3 23-Apr-14 13:58pm    
Thanks Griff!
OriginalGriff 23-Apr-14 14:00pm    
No problem, Glenn!
Release build creates a final DLL or EXE with all version information and Metadata of your project where Debug build contains only Debug mode Pdb and Metedata you cannot export a Debug DLL to other projects or Register this in Windows
 
Share this answer
 

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