Sharepoint WebPart,包含wsp包中的其他程序集 [英] Sharepoint WebPart, include additional assembly in wsp package
问题描述
有没有办法解决这个问题?我使用的是Visual Studio 08& VseWSS 1.2。
Brij的答案部分正确,您的VSeWSS版本是问题。此功能仅在版本1.3(我推荐March CTP)中使CopyToLocal = true自动将程序集添加到GAC。
I created a utility library for my Sharepoint WebParts. Now when I reference this library from my WebPart project, it compiles fine, but the library is not included in the .wsp package. This means the library assembly is not deployed to the target system, causign the WebPart to fail.
Is there any way to fix this? I am using Visual Studio 08 & VseWSS 1.2.
Brij's answer is partially correct, your VSeWSS version is the problem. This feature only came in version 1.3 (I recommend the March CTP) to have the CopyToLocal=true automatically add the assemblies to the GAC for you.
这篇关于Sharepoint WebPart,包含wsp包中的其他程序集的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!