Tag Archives: assembly



Specifying Assembly Information in Visual Studio

Assembly information  provides information about an assembly. This includes  Title, description, version information, Product name,  company name,  Trademark and more. This information are corresponds to the values of the  GAC for that assemblies as well .  We can provide the Assembly information either by Assembly.cs file or Assembly Information Dialog box.

Install a shared Assembly to the GAC as post build event from Visual Studio

The Global Assembly Cache (GAC) is a Cache for globally available Assemblies. Most of the shared assemblies are installed inside GAC to shared across different applications. The Global Assembly Cache tool (Gacutil.exe) allow us to manipulate the contents of the global assembly cache along with install and un-install Assembly. During the development, we generally  take […]

Programmatically Get Assembly Version

In this tip I will discuss how we can get assembly version programmatically  from a caller application.  This can be done easily by taking help of Reflection.  Assembly  Class contains a static method called GetAssemblyFullName() which gets the assembly that contains the code that is currently executing.

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

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. “ […]