VS2013创建Sharepoint Web部件项目失败:需要在本地计算机上安装SharePoint Foundation 2013 [英] VS2013 create Sharepoint web part project fails: requires SharePoint Foundation 2013 installed on local machine
问题描述
您好,
我正在尝试创建新项目:模板>> Office / SharePoint>> SharePoint 2013 Visual Web Part。
I am trying to create a New Project: Templates>>Office/SharePoint>>SharePoint 2013 Visual Web Part.
我收到错误:
"此系统上未安装所需版本的SharePoint Fondation 2013"
I get error:
"required version of SharePoint Fondation 2013 is not installed on this system"
我在Windows7上运行VS2013。只有我找到的SP2013安装适用于Windows server2008。我为VS2013应用了Office SDK更新,但没有用。
I am running VS2013 on Windows7. Only installs I find for SP2013 are for Windows server2008. I applied Office SDK update for VS2013 which did not work.
我们将不胜感激任何帮助。
Any help would be appreciated.
标记
推荐答案
- SharePoint 2010允许在Windows 7上进行开发:
在Windows Vista,Windows 7和Windows Server 2008上设置SharePoint 2010的开发环境
https://msdn.microsoft.com/ en-us / library / ee554869(v = office.14).aspx
Setting Up the Development Environment for SharePoint 2010 on Windows Vista, Windows 7, and Windows Server 2008
https://msdn.microsoft.com/en-us/library/ee554869(v=office.14).aspx
- SharePoint 2013没有(对Windows 7的引用已经过已从v = office.15页面中删除):
为SharePoint 2013设置常规开发环境
https://msdn.microsoft.com/en-us/library/ee554869(v=office.15) .aspx
Set up a general development environment for SharePoint 2013
https://msdn.microsoft.com/en-us/library/ee554869(v=office.15).aspx
有几种解决方法:
- 您可以从Windows 7升级到Windows 10,并在Windows 10上使用Hyper-V来安装带有Windows Server的虚拟机。您将需要一些GB的RAM
- 您可以将Windows Azure虚拟机与Windows Server一起使用。加入免费的Visual Studio Dev Essentials,您可以在一年内每月获得25美元的Azure费用:
https://www.visualstudio.com/dev-essentials/
Azure VM在停止并且取消分配:
Azure VMs don't consume credit when stopped and deallocated:
https://blogs.technet.microsoft.com/gbanin/2015/04/22/difference-between-the-states-of-azure-virtual-machines-停止 - 停止 - 取消分配/
这篇关于VS2013创建Sharepoint Web部件项目失败:需要在本地计算机上安装SharePoint Foundation 2013的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!