Hello there -
I've got the following problem: my C# app (an .exe using different
dlls) has a different behaviour regarding the way I launch it.
The right behaviour when I press F5 from Visual C# Express, and the
wrong when I launch the exe file from the bin\debug directory.
What's the difference between the 2 calls ? This is the same .exe !
Are dll loaded differently ?
The difference is an object which becomes empty for an unknown reason.
Yes, there are differences because you are running from within a debugger
when using F5. In addition, you are likely running your app inside of a Visual
Studio hosting process. So, when you press F5, things *do* run differently
when you run your app outside of Visual Studio. Normally, the debugger doesn't
cause problems but there are cases where it can be intrusive.
Are you able to isolate the problem and reproduce it in a small demo app?
If you can create a reproducible case, it'll be easier to figure out exactly
what is happening and how the debugger is interfering.
Best Regards,
Dustin Campbell
Developer Express Inc.