使用sharepoint server 2013进行连接和开发

时间:2013-02-10 11:19:41

标签: sharepoint visual-studio-2012 sharepoint-2013

我最近在我们公司设置了一个sharepoint服务器2013,并找到了如何使用自定义链接覆盖西装栏的非常好的示例。 现在我正在尝试实现这些示例,我到了安装Visual Studio 2012和Office开发工具的那一点。 当我选择开始一个新项目时,我选择New Project>模板> Visual C#> Office / SharePoint> SharePoint解决方案> SharePoint 2013空项目命中,我收到一条错误消息,说Sharepoint未安装? 我应该安装VS 2012并直接开发我的Sharepoint 2013服务器吗?

2 个答案:

答案 0 :(得分:4)

开发SharePoint应用程序的一种非常常见的方法是在开发工作站上运行虚拟机(hyper-v under windows 8 for example)。

您也可以dual-boot into a vhd file

您还可以安装Windows Server 2012并使用众多desktop conversion techniques to use it as your primary operating system on your workstation中的一个。

另一种常见的技术是在云或数据中心托管虚拟机,同时运行SharePoint Server和Visual Studio。然后使用远程桌面连接到该计算机。

通过一些技巧,您可以将SharePoint 2010安装程序安装为工作站操作系统。 This no longer works on SharePoint 2013.删除此支持的原因是由于从VHD和Hyper-v引导到Windows 8中。

根据我的经验,如果您只是想构建应用程序而不是运行或调试它,that just having the assemblies copied over from an actual SharePoint Server will allow you to do that。我还没有找到SharePoint 2013的更新文档。

答案 1 :(得分:1)

是。您必须使用Visual Studio直接在sharepoint服务器上进行开发,因为Sharepoint服务器GAC具有以sharepoint server object model编程方式工作的所需服务器对象模型。

您可以使用Client Object ModelWCF Data Services Framework在客户端计算机上进行开发。