将 wsp 文件放入 GAC 文件夹中 - Sharepoint 自定义 Web 部件
我用 C# 编写了一个 Web 部件,并在 Visual Studio 2008 中成功构建了它。我的本地计算机上有 SP 2007。
我无法进行调试。我必须将 wsp 文件放入 Gac 中,以便我可以对其进行调试。
我如何将其放置在 C;\Windows\Assembly\GAC_MSIL 中,因为我无法手动浏览该位置。
谢谢
I wrote a webpart in C# and build it successfully in Visual Studio 2008. I have SP 2007 in my local machine.
I cannot do debugbing. I have to place the wsp file in Gac so that I can debug it.
How can I place it in C;\Windows\Assembly\GAC_MSIL as I cannot manully browse into that loaction.
Thank you
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您应该将
.pdb
文件添加到.dll
文件所在的 GAC 文件夹中,而不是整个.wsp
包。之后不要忘记iisreset
。要浏览
c:\Windows\ assembly\GAC_MSIL\
文件夹,请使用以下其中一个 5 个技巧。还有第六种方法 - Total Commander 像对待任何其他文件夹一样对待 GAC。You should add the
.pdb
file to the GAC folder where the.dll
file is located, not the entire.wsp
package. Do not forgetiisreset
afterwards.To browse the
c:\Windows\assembly\GAC_MSIL\
folder use one of these 5 tricks. There is also a 6th way - Total Commander treats GAC like any other folder.