Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/visual-studio-2010/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Visual studio 2010 如何创建SharePoint 2010 wsp并包含已构建为DLL和强签名的Web部件_Visual Studio 2010_Sharepoint 2010_Web Parts_Wsp - Fatal编程技术网

Visual studio 2010 如何创建SharePoint 2010 wsp并包含已构建为DLL和强签名的Web部件

Visual studio 2010 如何创建SharePoint 2010 wsp并包含已构建为DLL和强签名的Web部件,visual-studio-2010,sharepoint-2010,web-parts,wsp,Visual Studio 2010,Sharepoint 2010,Web Parts,Wsp,我有一个SharePoint 2010可视化Web部件,该部件是使用MSBuild(合并了依赖项)和强签名-a.dll构建的 另外,我有一个SharePoint项目B,我想用它来打包我的所有Web部件并创建一个B.wsp 如何将WebPart A.dll包含在项目B的功能中,并随后包含在包中,以便在生成的B.wsp中包含并可用 感谢使用Visual Studio 2010将DLL添加到SharePoint解决方案包: 从解决方案资源管理器中打开包 单击高级选项卡 在“其他程序集”下,单击“添加

我有一个SharePoint 2010可视化Web部件,该部件是使用MSBuild(合并了依赖项)和强签名-a.dll构建的

另外,我有一个SharePoint项目B,我想用它来打包我的所有Web部件并创建一个B.wsp

如何将WebPart A.dll包含在项目B的功能中,并随后包含在包中,以便在生成的B.wsp中包含并可用


感谢使用Visual Studio 2010将DLL添加到SharePoint解决方案包:

  • 从解决方案资源管理器中打开包
  • 单击高级选项卡
  • 在“其他程序集”下,单击“添加>添加现有程序集…”
  • 找到DLL并单击“确定”

请注意,如果Web部件A项目是Visual Studio解决方案以及SharePoint项目B的一部分,则可以使用“从项目输出添加程序集”,而不是“添加现有程序集”。然后,下次打包project B时,您对Web部件A项目所做的任何更改都将包括在内。

此外,我还想打包project A中图像和js文件的映射文件夹。