转: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. (五)Hibernate 操作对象

    所有项目导入对应的hibernate的jar包.mysql的jar包和添加每次都需要用到的HibernateUtil.java 第一节:Hibernate 中四种对象状态 临时状态(transient ...

  2. Malformed network data

    Malformed network data

  3. 01_JavaMail_01_邮件服务器简述

    [收发邮件简单流程] 过程大致是: 发邮件时从客户端发邮件发送到邮件服务器,收邮件就是把邮件服务器的邮件下载到客户端. [邮件协议] * SMTP:(Simple Mail Transfer Prot ...

  4. Codevs 1958 刺激

    1958 刺激 时间限制: 1 s 空间限制: 128000 KB 题目等级 : 黄金 Gold 题目描述 Description saffah的一个朋友S酷爱滑雪,并且追求刺激(exitement, ...

  5. 在Windows下用gSoap实现简单加法实例

    实现一个简单的a+b程序,在服务器端写一个程序,里面包含了a+b的函数,然后通过客户端代码向其发送两个数字,在服务器运算得到结果返回给客户端显示出来. 1.在gSoap的官网上下载文件夹,本人的版本是 ...

  6. [翻译][MVC 5 + EF 6] 3:排序、过滤、分页

    原文:Sorting, Filtering, and Paging with the Entity Framework in an ASP.NET MVC Application 1.添加排序: 1. ...

  7. centOS 6.4 vsftpd 500 illegal port command

    原先配置好的vsftpd突然不行了,不知为啥,感觉跟网络有关,这个网络总是有dns拦截的现象,..小公司.真烦人,用联通线路就没问题, 但同事就是连不上,我的笔记本却可以连接上..我的ubuntn,同 ...

  8. leetcode problem 31 -- Next Permutation

    Implement next permutation, which rearranges numbers into the lexicographically next greater permuta ...

  9. 【转】JavaScript闭包

      摘自:JavaScript作用域闭包简述 使用外部变量的函数就是闭包,闭包可以给我们带来一些便利,就是可以在高等级的作用域使用低等级作用域中的变量:   例: var data = []; fun ...

  10. PL/SQL学习(三)游标

    原文参考:http://plsql-tutorial.com/ 两种类型:     隐式:         执行INSERT.UPDATE.DELETE 或者只返回一条结果的SELECT语句时默认创建 ...