Alex Rivera | Logout

Why I cannot access the C:\WINDOWS\assembly\GAC Folder?

Asked 2011-05-31T16:44:35.573
9

I find the path of Microsoft.Office>interop.Excel under the Solution/References is

C:\WINDOWS\assembly\GAC\Microsoft.Office.Interop.Excel\11.0.0.0__71e9bce111e9429c\Microsoft.Office.Interop.Excel.dll

However, such a file doesn't exist on my C:\WINDOWS\assembly\GAC at all. Further, there is not GAC folder under C:\WINDOWS\assembly.

Any idea?

Edit
Report

1 Answer

6

It is propably easiest to type to following in Start->Run: %windir%\assembly\gac

Some people use the subst command to map a drive letter to the GAC: SUBST [Drive letter]: “C:\Windows\assembly”

Personally I would get a hold of the Office Primary Interop Assemblies (Here is the PIA for 2010), they should contain the assembly you need

answered 2011-05-31T16:49:41.343

Your Answer