简体   繁体   English

VS 2010 SharePoint未安装错误

[英]SharePoint Not Installed Error with VS 2010

I am trying to create a new SharePoint project in my virtual machine. 我正在尝试在虚拟机中创建一个新的SharePoint项目。 it has SharePoint 2013 installed. 它已安装SharePoint 2013。 I am using visual studio 2010 ultimate version. 我正在使用Visual Studio 2010最终版本。 Every time i try to create a new empty SharePoint, web part or any SharePoint project it says. 每当我尝试创建一个新的空SharePoint,Web部件或它说的任何SharePoint项目时。 A SharePoint server is not installed on this computer. 此计算机上未安装SharePoint服务器。 A share Point server must me installed to work with SharePoint projects 必须安装共享点服务器才能与SharePoint项目一起使用

but i have SharePoint 2013 installed. 但我安装了SharePoint 2013。 can we use VS 2010 to create SharePoint projects in a VM with SP2013 installed. 我们如何使用VS 2010在安装了SP2013的VM中创建SharePoint项目。 I just installed the office developer tools for VS 2010 as well. 我也刚刚为VS 2010安装了Office开发人员工具。 But still i get the same results. 但是我仍然得到相同的结果。 Any ideas. 有任何想法吗。 在此处输入图片说明

This link describes the problem and how to fix it 此链接描述了问题以及解决方法

So, have you installed Office Developer Tools for Visual Studio 2012 ? 因此,您是否已安装Office Developer Tools for Visual Studio 2012 The default SharePoint project templates come with VS2012 is for SharePoint 2010 and will not work in SharePoint 2013 Server. VS2012随附的默认SharePoint项目模板适用于SharePoint 2010,不适用于SharePoint 2013 Server。

Also you need to make sure the site against which you are developing farm solution doesn't use developer template (rather user team site template). 另外,您还需要确保要为其开发服务器场解决方案的网站不使用开发人员模板(而是用户团队网站模板)。

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

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