release-mode

Why would Silverlight be crashing in Release but not in Debug mode?

I have a Silverlight App that has worked well in Debug and Release modes for weeks. It still works well in Debug mode. However, now when I run it in Release mode, it starts, shows me the screen, loads the data, then hangs, and the browser (Firefox) closes automatically. I've tried other browsers and each of them crashes, Chrome says "T...

publishing debug versions of asp.net dlls

I'm a little confused about using release vs. debug versions of a dll for a live site. We have code written so that when the site experiences an uncaught exception it runs through the exception and any inner exception and emails us the details. I've read that it's best for performance to only use release version dlls but I wondered if ...

Release mode static library much larger than debug mode version

Hi everyone, today i found out that the compiled static library i'm working on is much larger in Release mode than in Debug. I found it very surprising, since most of the time the exact opposite happens (as far as i can tell). The size in debug mode is slightly over 3 MB (its a fairly large project), but in release it goes up to 6,5 MB...

Silverlight 4 application shows blank page in release build

I'm working on a fairly large Silverlight 4 application (42 projects in 1 solution), and I'm wrestling with a really strange issue. The application works fine in a debug build, and even in release build it runs with the debugger attached (F5), but when it is run without debugging the silverlight xap loads and then shows only a blank pag...

VS2010 Debug build works, but Release does not

I have an app that I've recently added two C# classes to. It always built in both debug and release. The differences between the two configs are nothing. Now when I build the release, it says that one of the dependencies cannot be accessed. This is only for the release build. Nothing changed to that dependency and it always worked. Any ...

Help with Linker error LNK2038 !

I am trying to port a small app of mine from Win XP and VS 2005 to Win 7 and VS 2010. The app compiles and runs smoothly in Debug mode, however in Release mode I get the following error : pcrecpp.lib(pcrecpp.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2' in LoginDlg.obj The wor...