gacutil.exe的位置

如果你不想使用Visual Studio的Command Prompt, 想在自己的批处理里面调用gacutil.exe, 就需要指导这个文件的位置了.

如下:

C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin\gacutil.exe

你可以在你的批处理中这样调用:

@SET GACUTIL="c:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin\gacutil.exe"

Echo Install the dll into GAC
%GACUTIL% -if bin\debug\test.dll

来源:

Inside SharePoint 3.0

原文地址:https://www.cnblogs.com/netcorner/p/2931571.html