May
16th | 2008

Why Pluggable Applications Fail in NUnit?

Posted by Shahar Y |
Filed under .Net, C#, Misc. |

I am currently working on a project with a pluggable application (load plugins at runtime and execute them) that loads assemblies at runtime, using the Assembly.LoadFile() method. I wanted to test it using NUnit (feel free to read our 3 Ways to Run NUnit from Visual Studio post). Although, the code was functioning very well it always failed during the NUnit tests, always! It took me several days to understand what went wrong and I want to share you with my findings.


Continue Reading...
Apr
21st | 2008

A Bug in WPF Static Resources?

Posted by Amit |
Filed under C#, WPF |

Yesterday I played around with WPF resources and stumbled on a very strange behavior. It seems that the order of the elements in the resources have some importance as to how the application handles them. A few code examples are attached


Continue Reading...
Apr
14th | 2008

Unhandled Exceptions - Handle them

Posted by Shahar Y |
Filed under .Net, C#, Unmanaged Code |

It is common knowledge that there is no such thing as software without bugs. There are several bugs out there that are hiding and therefore are not handled at all. We surely don’t want to release a software that will crash ungracefully due to such a case. Fortunately, the .Net framework makes it possible to [...]


Continue Reading...

Search Dev102