Where is the .NET Framework Global Assembly Cache?

后端 未结 2 1754
一个人的身影
一个人的身影 2020-12-01 05:16

I installed the VS2010 and .NET 4.0, then I compiled an assembly and ran the gacutil using the exe available on

%ProgramFiles%\\Microsoft SDKs\\Windows\\v7.         


        
2条回答
  •  醉话见心
    2020-12-01 05:56

    Yes, there are two distinct GACs as from .NET 4.0

    See here: .NET 4.0 has a new GAC, why?

    As stated below, the new physical location is %windir%\Microsoft.NET\assembly\ (you can interogate it using the dir command at a command prompt if you're interested).

    It's worth noting that applications running up to the 2.0 CLR will not even be able to see assemblies in the new GAC.

提交回复
热议问题