简体   繁体   English

将多个项目中的多个功能作为单个wsp包部署-Visual Studio 2010支持

[英]Deploying multiple features from multiple projects as single wsp package - visual studio 2010 support

I have got SharePoint Workflow project X and SharePoint event receiver project Y. I have featureX in workflow project and featureY in evet receiver project Y. I want to deploy both projects in single wsp package. 我有SharePoint工作流项目X和SharePoint事件接收器项目Y。我在工作流项目中具有featureX,在evet接收器项目Y中具有featureY。我想将两个项目都部署在单个wsp程序包中。 Can I add featureY to the workflow project X ? 我可以将featureY添加到工作流项目X中吗? OR should I create 3rd project with features and somehow import both features - event handler and workflow ? 或者我应该创建具有功能的第3个项目,并以某种方式导入两个功能-事件处理程序和工作流? If yes - how to do this using VS 2010 ? 如果是,如何使用VS 2010做到这一点? Thanks in advance for the answer. 预先感谢您的回答。

I have found the answer in the following link. 我在以下链接中找到了答案。

https://sharepoint.stackexchange.com/questions/12103/multiple-sharepoint-projects-in-one-solution-how-to-package-correctly https://sharepoint.stackexchange.com/questions/12103/multiple-sharepoint-projects-in-one-solution-how-to-package-正确

The solution is to create new (empty) SharePoint project and open file Package.package in Package Viewer. 解决方案是创建新的(空)SharePoint项目并在Package Viewer中打开文件Package.package。 Then you can move all features within solution from / to the package. 然后,您可以将解决方案中的所有功能从/移至程序包。

I have found the answer on below link. 我在下面的链接上找到了答案。

https://sharepoint.stackexchange.com/questions/12103/multiple-sharepoint-projects-in-one-solution-how-to-package-correctly https://sharepoint.stackexchange.com/questions/12103/multiple-sharepoint-projects-in-one-solution-how-to-package-正确

The solution is to create new (empty) SharePoint project and open file Package.package in Package Viewer. 解决方案是创建新的(空)SharePoint项目并在Package Viewer中打开文件Package.package。 Then you can move all features within solution from / to the package. 然后,您可以将解决方案中的所有功能从/移至程序包。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在Visual Studio 2010中同时将多个项目添加到单个解决方案 - Adding multiple projects to a single solution simultaneously in Visual Studio 2010 使用文本编辑器创建具有多个项目的Visual Studio 2010解决方案 - Create a Visual Studio 2010 Solution with multiple projects from a text editor 如何在Visual Studio 2010中打开多个项目 - How to open multiple projects in Visual Studio 2010 将多个项目的多个存储库组合到Visual Studio 2010中的总体解决方案的单个存储库中? - Combining multiple repositories of multiple projects into a single repository of an over-arching solution in Visual Studio 2010? Visual Studio 2010链接库并包含多个项目的路径 - Visual Studio 2010 linking libraries and include paths for multiple projects 如何在Visual Studio 2010解决方案中调试多个项目 - How to debug multiple projects within a Visual Studio 2010 solution 在1个解决方案中的多个项目之间共享资源。 Visual Studio 2010 - Share Resources Across Multiple Projects In 1 Solution. Visual Studio 2010 在Visual Studio 2010中调试时启动多个项目 - Starting multiple projects when debugging in Visual Studio 2010 从Visual Studio 2010项目文件为多个框架目标构建NuGet包 - Build NuGet package for multiple framework targets from Visual Studio 2010 project file visual studio 2010单个项目,带有多个主要的cpp文件 - visual studio 2010 single project with multiple cpp files with main
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM