How to view the Folder and Files in GAC?

前端 未结 5 2124
生来不讨喜
生来不讨喜 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:25

    I'm a day late and a dollar short on this one. If you want to view the folder structure of the GAC in Windows Explorer, you can do this by using the registry:

    1. Launch regedit.
    2. Navigate to HKLM\Software\Microsoft\Fusion
    3. Add a DWORD called DisableCacheViewer and set the value to 1.

    For a temporary view, you can substitute a drive for the folder path, which strips away the special directory properties.

    1. Launch a Command Prompt at your account's privilege level.
      • If you elevate your privileges, you might not see the drive in Windows 7.
    2. Type SUBST Z: C:\Windows\assembly
      • Z can be any free drive letter.
    3. Open My Computer and look in the new substitute directory.
    4. To remove the virtual drive from Command Prompt, type SUBST Z: /D

    As for why you'd want to do something like this, I've used this trick to compare GAC'd DLLs between different machines to make sure they're truly the same.

提交回复
热议问题