转: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. Java的云打印Lodop

        打印某一个网页上的内容我们都经常遇到过,比如网上申请港澳通行证时需要填写申请表,然后把申请表给打印出来.像这样的打印技术是怎么实现?这种打印可以通过一种叫云打印的插件来做,按我的理解云打印的技 ...

  2. 11_关于SqlMapperConfig.xml

    [简述] SqlMapConfig.xml是Mybatis的全局配置文件,配置内容如下: 1.properties---------属性 2.settings-----------全局配置参数 3.t ...

  3. bzoj1402:[HAOI2008]硬币购物

    思路:完全背包加容斥原理 首先不考虑限制,那么很容易可以预处理出f[i](f[i]+=f[i-c[i]],1<=i<=4,i-c[i]>=0). 然后考虑如何求出限制后的答案. 首先 ...

  4. itoa 和_itoa_s

    1> itoa, 将整数转换为字符串. char *  itoa ( int value, char * buffer, int radix ); 它包含三个参数: value, 是要转换的数字 ...

  5. 切换到mint了,纪念一下

  6. 一次ora-1113 记录

    记录博客园的第一天,今天在电脑前发呆,突然感觉自己记忆越来越差,近年来随着工作力度的加强,感觉自己越来越力不从心,问题重复的出现.感觉自己应该去记录点什么了,随选择了用写博客的方式记录一下.第一天先记 ...

  7. Android学习7--日志信息的使用

    在代码的调试中,日志信息是必不可少的,关于日志信息的使用,接下来,小编简要的说明一下: 日志分为几种:Verbose:从字面上解释,verbose为冗长的,啰嗦的,所以verbose日志信息输出的内容 ...

  8. 以前写过的ajax基础案例(王欢-huanhuan)

    //load方法的使用   $('#loadBtn').click(function(){    //responseTxt 包含来自请求的结果数据 //statusTxt 包含请求的状态(" ...

  9. keilkill.bat

    一.批处理文件 批处理文件是无格式的文本文件,它包含一条或多条命令.它的文件扩展名为 .bat 或 .cmd.在命令提示下键入批处理文件的名称,或者双击该批处理文件,系统就会调用Cmd.exe按照该文 ...

  10. c# .net使用SqlDataReader注意的几点

    转自:http://blog.knowsky.com/258608.htm 1.当SqlDataReader没有关闭之前,数据库连接会一直保持open状态,所以在使用SqlDataReader时,使用 ...