0

I added an assembly to the GAC using the Visual Studio 2010 command prompt.

gacutil /i xxx

It shows a message:

Assembly successfully added to the cache.

But it's not visible in C:\WINDOWS\assembly and I read that the .NET Framework GAC has been moved to C:\WINDOWS\Microsoft.NET\assembly for v4.0 assemblies. I searched for my assembly there as well but I cannot find it. So where do I find the installed assembly for the .NET Framework v4.0?

bobbymcr
  • 23,769
  • 3
  • 56
  • 67
Anand
  • 717
  • 6
  • 20
  • `I searched` is too vague. Another change is the shell extension handler that makes the GAC look like a single directory. It is not there anymore. – Hans Passant Jan 02 '12 at 13:33
  • But it's not coming in Add Reference on VisualStudio – Anand Jan 03 '12 at 04:12
  • 2
    That's normal, that dialog never shows assemblies in the GAC. It only shows reference assemblies. Use the Browse tab instead. *Never* put your assemblies in the GAC on your dev machine. – Hans Passant Jan 03 '12 at 04:28

1 Answers1

1

Yes for .Net Framework 4 GAC is in this location %windir%\Microsoft.NET\assembly

See here Where is the .NET Framework Global Assembly Cache?

Community
  • 1
  • 1
sbtech100
  • 59
  • 4