转:http://community.bamboosolutions.com/blogs/sharepoint-2010/archive/2012/06/21/create-a-sharepoint-2010-project-without-sharepoint-server.aspx

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:

  1. Download and extract the utility to your development box. You will see a similar folder structure as follows:

  2. Run the program Bamboo.VS2010.Empty.SharePoint.Project.exe, which will be found in the root directory.
  3. 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:

  4. This will generate a new project package within the directory Out, including the file [projectname].wsp:

  5. Using Visual Studio 2010, open your new project.
  6. Within your Solution Explorer, you will notice the basic project structure has already been built for your convenience as a "Sandbox Solution":

  7. 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的更多相关文章

  1. SharePoint 2010 Url Shortener --SharePoint 2010 短URL生成器

    SharePoint 2010 Url Shortener --SharePoint 2010 短URL生成器 项目描写叙述 本项目加入了这种功能.在SP站点中能够生成短URLs. 这些URLs指向列 ...

  2. SharePoint 2010升级到sharePoint 2013后,人员失去对网站的权限的原因及解决方法。The reason and solution for permission lost after the upgrading

    昨天碰到了一个问题,一个网站在从SharePoint 2010升级到SharePoint 2013后,人员都不能登录了,必须重加赋权,人员才能登录,这样非常麻烦. 原因:是认证方式的问题.在Share ...

  3. SharePoint 2010 Pop-Up Dialogs SharePoint 2010 弹出对话框

    SharePoint 2010 Pop-Up Dialogs SharePoint 2010 弹出对话框         SharePoint 2010 使得往你的站点加入对话框内容变得出乎意料的简单 ...

  4. 为Sharepoint 2010 批量创建SharePoint测试用户

    无意搜到下面一篇文章,http://www.cnblogs.com/lambertqin/archive/2012/04/19/2457372.html,原作者写的太"高大上",可 ...

  5. sharepoint 2010 如何使用sharepoint多媒体视频播放media webpart功能

    转:http://www.cfanz.cn/?c=article&a=read&id=40449 在sharepoint 2010中,有一个新的功能,支持在页面上播放视频.主要是通过一 ...

  6. SharePoint 2010:“&”作为SharePoint账号密码引起的错误

    一朋友修改了SharePoint 2010系统账号密码,导致无法登陆.他的环境如下: 两台服务器:AD+SharePoint 2010 ,Sql Server 2008 r2 目标站点开启了Form登 ...

  7. 【SharePoint 2010】将Sharepoint Server 2010部署到WINDOWS 7

    1.部署-安装环境: 在这里先说明一下:2007的版本中我们只能装在WINDOWS 2003 SERVER 上,这种限制在2010被彻底打破了.我们可以将它安装在VISTA/WINDOWS 7/SER ...

  8. SharePoint 2010 External List Paging – Server Side

    http://lightningtools.com/bcs/sharepoint-2010-external-list-paging-server-side/ When you are using a ...

  9. “Stamping” PDF Files Downloaded from SharePoint 2010

    http://blog.falchionconsulting.com/index.php/2012/03/stamping-pdf-files-downloaded-from-sharepoint-2 ...

随机推荐

  1. 我爆一个托 QQ305242038 电话 18782169971

    这是两个人,一品天下附近的托,qq负责聊天,电话那个负责见面

  2. javaee学习-servlet初始化参数

    1.需要定义ServletConfig对象来接收servlet配置的初始化参数. 2.当servlet配置了初始化参数后,web容器在创建servlet实例对象时, 会自动将这些初始化参数封装到Ser ...

  3. Java实战之01Struts2-05contextMAP、EL、OGNL

    十五.contextMap 1.动作类的生命周期 明确:动作类是多例的,每次动作访问,动作类都会实例化.所以是线程安全的.与Struts1的区别是,struts1的动作类是单例的. 2.请求动作的数据 ...

  4. skip跳跃表的实现

    skiplist介绍 跳表(skip List)是一种随机化的数据结构,基于并联的链表,实现简单,插入.删除.查找的复杂度均为O(logN).跳表的具体定义, 跳表是由William Pugh发明的, ...

  5. centos 忘记 root 密码

    采用单用户维护模式可以重设置新密码 系统重启,按任意键进入如下所示的菜单: 选择“kernel /.....”根据提示,按下 "e" 就能进入grup 编辑模式,此时出现的画面类似 ...

  6. yii2源码学习笔记(十二)

    继续了解controller基类. /** * Runs a request specified in terms of a route.在路径中指定的请求. * The route can be e ...

  7. PHP实现斐波那契数列非递归方法

    斐波那契数列,又称黄金分割数列,指的是这样一个数列:0.1.1.2.3.5.8.13.21.……在数学上,斐波纳契数列以如下被以递归的方法定义:F0=0,F1=1,Fn=F(n-1)+F(n-2)(n ...

  8. session阻塞机制,解决方法

    session从生成到读取,或从生成到写入都出现锁定的情况. 1.session_start();session_commit(); 2.session_start();session_write_c ...

  9. Python 学习之urllib模块---用于发送网络请求,获取数据(5)

    查询城市天气最后一节 需要导入上一节的结果city10.py #!/usr/bin/python# -*- coding: UTF-8 -*-import urllib.requestfrom  ci ...

  10. IOS多线程之NSThread

    参考:http://blog.csdn.net/totogo2010/article/details/8010231 1 简介 NSThread: 优点:NSThread 比其他两个轻量级 缺点:需要 ...