我在 Visual Studio 2010 上使用 WSPBuilder 为 SharePoint 2010 创建具有功能接收器程序集的功能。当我尝试使用 WSP Builder 构建 WSP 时,我在输出窗口中收到此消息:
The assembly MyAssembly.dll is unmanaged. The assembly will be excluded from the WSP package!
The defined Project Assembly seems not to be a valid assembly!
Solution compatibility: SharePoint 2010
生成的 WSP 不包含我的 DLL。
我的 DLL 被强烈命名,我想不出任何其他明显的原因。知道为什么 WSPBuilder 无法将我的程序集打包到 WSP 中吗?