简体   繁体   English

Visual Studio 2012缺少“部署”选项

[英]“Deploy” option missing visual studio 2012

I have recently migrated a sharepoint project from a vs 2010 solution to a vs 2012 solution. 我最近将一个SharePoint项目从vs 2010解决方案迁移到vs 2012解决方案。 Previously, I have used the "deploy solution" option found under the build menu or simply by right clicking the solution level itself to obtain the needed wsp. 以前,我使用了在构建菜单下找到的“部署解决方案”选项,或者仅通过右键单击解决方案级别本身来获取所需的wsp。 However, I can no longer find this option. 但是,我再也找不到此选项。 Has it been removed? 它被删除了吗? Has it been renamed? 它被重命名了吗? Please advise. 请指教。

Well i dont have an issue when i create a Visual WebPart from scratch. 好吧,当我从头开始创建Visual WebPart时,我没有任何问题。 I know that previous WebParts from 2007, had issue on the migration to 2013. If i were you make sure that Project/Solution created is not basically a Web Site/Page project instead of an App for SharePoint Solution. 我知道2007年以前的WebParts迁移到2013年时遇到问题。如果我确定您创建的Project / Solution本质上不是Web站点/页面项目,则不是SharePoint解决方案的应用程序。

If its not an Apps for SharePoint solution, then you will have to do the fun of creating it all from scratch, at least copying the code fragments over. 如果它不是Apps for SharePoint解决方案,那么您将不得不从头开始创建所有内容,至少要复制代码片段。 The folder structure is not the same from 2007, and im sure they changed it again from 2010. 文件夹结构与2007年有所不同,请确保他们从2010年起再次更改了文件夹结构。

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM