Use PowerShell to view contents of the Global Assembly Cache (GAC)

前端 未结 6 601
臣服心动
臣服心动 2021-02-07 07:04

Is there a way to use PowerShell to view the contents of the GAC?

6条回答
  •  说谎
    说谎 (楼主)
    2021-02-07 07:40

    If you want to search for a specific assembly in the GAC.

    Also note, since MS has changed the GAC structure you can use the -Recurse option from the root to search all the GAC.

    CD C:\Windows\assembly 
    ls -Recurse | ?{$_.Name -like "*log4net*"}
    

提交回复
热议问题