How to Create a SharePoint 2010 Project Without SharePoint Server
As a SharePoint developer, Visual Studio 2010 is essential for creating SharePoint solutions. One of the limitations of Visual Studio development for SharePoint, however, is that SharePoint must be installed on the same server as Visual Studio. If your development
box is an Intel Core i7 (Ivy Bridge) with 16GB memory and SSD, everything is going to work great! But let's face it... most of us are given older machines with, say, 4GB memory and an old fashioned hard drive which slows the pace of development to a crawl.
Management just doesn't understand why you need server-level performance to in order to develop.
Luckily there is a solution. Before we get to the solution though, let's clarify the problem. On my development machine, I have Visual Studio 2010 installed
without SharePoint installed, and will attempt to create a new project using the template "Empty SharePoint Project."
Upon creation of the project however, I receive the error: "A SharePoint server is not installed on this computer. A SharePoint server must be installed to work with SharePoint projects."
To resolve this issue, I have created a simple utility which allows me (and will allow you) to create an empty project without requiring SharePoint to be installed on the same box, thus saving valuable computing resources. Here is how you can utilize the
utility:
- Download and extract the utility to your development box. You will see a similar folder structure as follows:
- Run the program Bamboo.VS2010.Empty.SharePoint.Project.exe, which will be found in the root directory.
- A dialog box will appear as shown below. In the New namespace field, enter the name of your project and select
Create new empty template:
- This will generate a new project package within the directory Out, including the file [projectname].wsp:
- Using Visual Studio 2010, open your new project.
- Within your Solution Explorer, you will notice the basic project structure has already been built for your convenience as a "Sandbox Solution":
- If you are seeking an on-premises solution, update the attribute "Sandboxed Solution" to the value of
False, which will allow you to work with the SharePoint Mapped folder.
Note: Changing the project attribute Sandboxed Solution to FALSE will require you to have Farm administrator privileges on the SharePoint Server before you can deploy this solution:
That's all there is to it! Hope this article is helpful when developing in SharePoint Online with Sandboxed Solutions!
How to Create a SharePoint 2010 Project Without SharePoint Server的更多相关文章
- SharePoint 2010 Url Shortener --SharePoint 2010 短URL生成器
SharePoint 2010 Url Shortener --SharePoint 2010 短URL生成器 项目描写叙述 本项目加入了这种功能.在SP站点中能够生成短URLs. 这些URLs指向列 ...
- SharePoint 2010升级到sharePoint 2013后,人员失去对网站的权限的原因及解决方法。The reason and solution for permission lost after the upgrading
昨天碰到了一个问题,一个网站在从SharePoint 2010升级到SharePoint 2013后,人员都不能登录了,必须重加赋权,人员才能登录,这样非常麻烦. 原因:是认证方式的问题.在Share ...
- SharePoint 2010 Pop-Up Dialogs SharePoint 2010 弹出对话框
SharePoint 2010 Pop-Up Dialogs SharePoint 2010 弹出对话框 SharePoint 2010 使得往你的站点加入对话框内容变得出乎意料的简单 ...
- 为Sharepoint 2010 批量创建SharePoint测试用户
无意搜到下面一篇文章,http://www.cnblogs.com/lambertqin/archive/2012/04/19/2457372.html,原作者写的太"高大上",可 ...
- sharepoint 2010 如何使用sharepoint多媒体视频播放media webpart功能
转:http://www.cfanz.cn/?c=article&a=read&id=40449 在sharepoint 2010中,有一个新的功能,支持在页面上播放视频.主要是通过一 ...
- SharePoint 2010:“&”作为SharePoint账号密码引起的错误
一朋友修改了SharePoint 2010系统账号密码,导致无法登陆.他的环境如下: 两台服务器:AD+SharePoint 2010 ,Sql Server 2008 r2 目标站点开启了Form登 ...
- 【SharePoint 2010】将Sharepoint Server 2010部署到WINDOWS 7
1.部署-安装环境: 在这里先说明一下:2007的版本中我们只能装在WINDOWS 2003 SERVER 上,这种限制在2010被彻底打破了.我们可以将它安装在VISTA/WINDOWS 7/SER ...
- SharePoint 2010 External List Paging – Server Side
http://lightningtools.com/bcs/sharepoint-2010-external-list-paging-server-side/ When you are using a ...
- “Stamping” PDF Files Downloaded from SharePoint 2010
http://blog.falchionconsulting.com/index.php/2012/03/stamping-pdf-files-downloaded-from-sharepoint-2 ...
随机推荐
- iOS开发——音频篇——音效的播放
一.简单介绍 简单来说,音频可以分为2种 (1)音效 又称“短音频”,通常在程序中的播放时长为1~2秒 在应用程序中起到点缀效果,提升整体用户体验 (2)音乐 比如游戏中的“背景音乐”,一般播放时间较 ...
- 九度OJ 1084 整数拆分
题目地址:http://ac.jobdu.com/problem.php?pid=1084 题目描述: 一个整数总可以拆分为2的幂的和,例如: 7=1+2+4 7=1+2+2+2 7=1+1+1+4 ...
- linux进程间通信--无名管道
管道 只能用于具有亲缘关系的进程之间通信是一个半双工的通信模式, 具有固定的写读端和写端,管道可以看成一种特殊的文件,对它可以使用普通的read.write等操作 管道的创建: #include &l ...
- jQuery查看dom元素上绑定的事件列表
jQuery API提供了一种能够查看元素已绑定事件的列表,这个功能在进行功能调试的时候特别有用,尤其确定在代码执行过程中元素绑定的事件是否被更改. 1: jQuery( elem ).dat ...
- node.js操作mongoDB数据库
链接数据库: var mongo=require("mongodb"); var host="localhost"; var port=mongo.Connec ...
- http 和 Tcp 的区别
http 和 tcp 的区别: Http在每一次请求结束后都会主动释放连接,因此HTTP连接是一种“短链接”,要保持客户端程序的在线状态,需要不断地向服务器端发起连接请求. TCP连接时一种“长连接” ...
- 阻止CSS样式被缓存
<link href="/stylesheet.css?<?php echo time(); ?>" rel="stylesheet" typ ...
- MYSQL数据库备份与恢复
mysqldump -h主机名 -P端口 -u用户名 -p密码 (–database) 数据库名 > 文件名.sql 备份MySQL数据库的命令 mysqldump -hhostname -u ...
- wpf:DataGrid使用
xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity" ...
- 服务器慢 mysql-bin.000001文件占满磁盘的原因与解决
发现 VPS 服务器上的网站反应超级慢,简单的重启.重启各主要服务,发现mysql 的反应极其不正常. 一方面是问题,这与站点访问量有关.开始时从mysql 的配置文件 my.cnf 考虑,但志文工作 ...