제목과 마찬가지로 vbscript를 사용하여 GAC 어셈블리 파일을 제거 할 수 있습니까?vbscript를 사용하여 GAC 어셈블리를 제거하십시오.
1
A
답변
1
당신은 GAC에서 제거하려면이 옵션을 실행할 수 있습니다
gacutil /u YourAssembly
0
나는 .NET을 사용 쉘에서 gacutil 기억한다.
C:\>gacutil
Microsoft (R) .NET Global Assembly Cache Utility. Version 3.5.21022.8
Copyright (c) Microsoft Corporation. All rights reserved.
Usage: Gacutil <command> [ <options> ]
Commands:
/i <assembly_path> [ /r <...> ] [ /f ]
Installs an assembly to the global assembly cache.
/il <assembly_path_list_file> [ /r <...> ] [ /f ]
Installs one or more assemblies to the global assembly cache.
/u <assembly_display_name> [ /r <...> ]
Uninstalls an assembly from the global assembly cache.
/ul <assembly_display_name_list_file> [ /r <...> ]
Uninstalls one or more assemblies from the global assembly cache.
/l [ <assembly_name> ]
List the global assembly cache filtered by <assembly_name>
/lr [ <assembly_name> ]
List the global assembly cache with all traced references.
/cdl
Deletes the contents of the download cache
/ldl
Lists the contents of the download cache
/?
Displays a detailed help screen
Options:
/r <reference_scheme> <reference_id> <description>
Specifies a traced reference to install (/i, /il) or uninstall (/u, /ul).
/f
Forces reinstall of an assembly.
/nologo
Suppresses display of the logo banner
/silent
Suppresses display of all output
0
WSH를 VBScript와 함께 사용할 수 있으며 WSH를 사용하여 파일을 열 수 있습니다. 여기
0
은 VBScript를에서 gacutil
도구를 호출 할 수있는 방법은 다음과 같습니다
Const GACUTILPATH = "C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin\gacutil.exe"
strAssembly = "MyAssembly" '' or "MyAssembly,Version=1.1.0.0,Culture=en,PublicKeyToken=874e23ab874e23ab"
Set oShell = CreateObject("WScript.Shell")
oShell.Run """" & GACUTILPATH & """ /nologo /u " & strAssembly
관련 문제
- 1. 실제로 사용할 수없는 GAC 어셈블리를 예상하는 어셈블리를 동적으로로드합니까?
- 2. GAC 어셈블리를 MSI 내에 포함하지 않고 어셈블리
- 3. WiX를 사용하여 어셈블리를 GAC 및 설치 경로에 넣습니다.
- 4. 동적으로 생성 된 어셈블리에서 GAC 어셈블리를 참조하는 방법은 무엇입니까?
- 5. MSBUILD가 종속 GAC 어셈블리를 bin에 복사하지 못하도록하는 방법
- 6. .NET에서 GAC 대신 로컬 폴더에서 어셈블리를 찾는 방법?
- 7. 어셈블리에 대해 GAC 확인
- 8. GAC를 사용하여 어셈블리를 공유해야하는시기는 언제입니까?
- 9. ClickOnce 및 GAC
- 10. FxCop 및 GAC Madness
- 11. GAC 어셈블리 버전의 Web.config
- 12. VBScript를 사용하여 클립 보드 지우기
- 13. VBScript를 사용하여 CSV 파일 읽기
- 14. VBscript를 사용하여 사용자 권한 읽기
- 15. vbscript를 사용하여 Windows에서 차단 종료
- 16. VBScript를 사용하여 응용 프로그램 자동화
- 17. VBScript를 사용하여 폴더 내용 복사
- 18. Cassini에서 GAC 참조를 무시하려면 어떻게해야합니까?
- 19. GAC 설치를 다시 방문하십시오
- 20. ASP.Net 다시 시작/GAC 새로 고침
- 21. IntPtr.ToInt32() Marshal.ThrowExceptionForHR() - GAC 쿼리
- 22. GAC 및 어셈블리 버전 관리
- 23. COM 등록 및 GAC
- 24. 자바에서 정규식을 사용하여 BBCode를 제거하십시오.
- 25. 자바 스크립트를 사용하여 텍스트를 제거하십시오.
- 26. jquery를 사용하여 hiddenfield 값을 제거하십시오.
- 27. jQuery를 사용하여 select에서 CSS를 제거하십시오.
- 28. VBScript를 사용하여 MS Word 매크로 제거
- 29. vbscript를 사용하여 이미지 요소를 td에 추가
- 30. VBScript를 사용하여 내 컴퓨터의 IP 주소 찾기
링크가 죽었다는 ... –