Could not load file or assembly ‘PresentationCore’ or one of its dependencies. An attempt was made to load a program with an incorrect format. : A solution

By | July 3, 2011

Few days back, I was migrating my application for VS2008 to VS2010 and it was done successfully except  some people started running the application. They faced the error as below “Could not load file or assembly ‘PresentationCore’ or one of its dependencies. An attempt was made to load a program with an incorrect format. “ I tried to… Read More »

Lazy Initializer to defer expensive Object creation in .NET 4.0

By | June 30, 2011

.NET 4.0 comes with lots of new features. Some relates to Technology while other relates to language enhancements. The huge class library that is there with .NET framework is also enriched with new classes. In .NET 4.0 there is a new set of classes which introduces a new concept called Lazy initializes. In this article I am going… Read More »

Automatically Show the Output Window During Build in Visual Studio

By | June 26, 2011

The Visual Studio IDE Output window displays status messages for various features with in IDE  include build errors, compilation error, Project configuration information, that occur when a project is compiled. This window is very much important to see what your application doing during build. Now, this windows is by default turn off. So when ever you want to… Read More »