How to get assembly file from GAC

Sometimes we may need to find assembly files (.dll) in the Microsoft windows GAC (Global Assembly Cache), while working in the world of Microsoft.NET. The default GAC folder is located at C:\Windows\assembly, but looking in this directory , we would only find the installed versions of these assemblies.

 

 

 

 

 

 

To find the actual .dll file of these installed assemblies, just

Open Dos-Prompt & type dir fullname of the assembly followed by ‘/s‘.  For example

C:\>dir Microsoft.SharePoint.IdentityModel.dll /s

Once you find the dll file, copy it to your project & enjoy coding…

Advertisements
Posted in Sharepoint 2010, Windows GAC

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: