문제

I dont have gacutil on the computer I have to install this assembly so can it be done instead of using gacutil?

If yes, whats the difference?

Its a .net 2.0 assembly

도움이 되었습니까?

해결책

You can drag and drop assemblies onto the \Windows\Assembly folder in Explorer, and the assemblies will be deployed there automatically. There is no difference between the result of this method and using gacutil.

To verify before the act, a shell extension must have been installed with the .NET Framework that displays a different view of this folder when you navigate there, so you should actually see assemblies with version data etc. instead of the standard columns (in detail view).

다른 팁

If you dont want to use gacutil then you should create your own utility and use install the assembly by using Publish.GacInstall Method.

public void GacInstall(string AssemblyPath)

Drage and drop dll ... it might not work if gacutil isn't there as a special Windows Explorer plugin calls gacutil to install your assembly into GAC. For details please have a look on GAC - To add an assembly to the GAC, drag and drop works, but copy and paste doesn't? Why?

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top