将 wsp 文件放入 GAC 文件夹中 - Sharepoint 自定义 Web 部件

发布于 2024-12-09 20:42:07 字数 196 浏览 6 评论 0原文

我用 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

半衾梦 2024-12-16 20:42:08

您应该将 .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 forget iisreset 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文