How to view the Folder and Files in GAC?

前端 未结 5 2127
生来不讨喜
生来不讨喜 2020-12-12 11:24

I want to view the folders and sub folders in GAC. Also want to know about adding and removing from GAC.

To install we write this lines in command prompt by opening

5条回答
  •  再見小時候
    2020-12-12 12:15

    You install as assemblies by using:

    • A setup program, that you author for your application.
    • Using the gacutil.exe tool with the -i option from the command line.
    • Dropping the assembly in %windir%\Assembly (only up to .NET 3.5, CLR 2.0)

    You view the content of the GAC using:

    • The gacutil.exe tool with the -l option.
    • For .NET 2.0, 3.0 and 3.5 (CLR 2.0) browsing to %windir%\assembly using the Windows Explorer.

    Note that the (physical) GAC location has changed for .NET 4.0. It is no longer in %windir%\Assembly, but now in %windir%\Microsoft.NET\assembly. However, you should never write any code that depends on the physical location anyway, because given the tools available that is hardly necessary (some "cool" homegrown system diagnostics tools aside).

提交回复
热议问题