Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Issues with SharePoint 2010 Development

I am planning to use my laptop for SharePoint 2010 development and I have only 4 GB RAM which is not even upgradable. Just because of RAM constraint, my VS 2010 keeps crawling if I try to run it along with SharePoint 2010 on the same machine.

Hence, I've reformatted my machine and looking for alternate solutions until I get a new laptop. Currently, I have installed VS 2010 ONLY on my laptop and wanted to create an empty SharePoint project. Once done with my project, I want to deploy it on a different machine (which is a 4GB RAM machine as well, but contains only SharePoint 2010). I thought this will work and give me a bit of breather if everything is configured well. Unfortunately, when I tried creating a new SharePoint Empty Project in VS 2010, it says...

A SharePoint server is not installed on this computer. A SharePoint server must be installed to work with SharePoint projects.

Is there a way out?

like image 684
Rahul Soni Avatar asked Mar 16 '10 05:03

Rahul Soni


2 Answers

Here are a few solutions. I know this thread is old but these work. (Guess I get a revival badge if enough people upvote this helpful answer! :o) )

http://social.technet.microsoft.com/Forums/en/sharepoint2010programming/thread/cda807f6-4edf-4efc-8e9b-4d446356c8ae

It seems that you dont need SP2010 complete install in order to dev in VS2010 for SP.

like image 159
Anthony Graglia Avatar answered Sep 21 '22 10:09

Anthony Graglia


If you are using SQL Server, you can limit it's memory consumption. This helped us quite a bit until we upgraded to 6GB of RAM.

You can also limit the number of service applications that you configure as well. Of course this will depend on what you are actually trying to do.

like image 25
Doug Stalter Avatar answered Sep 21 '22 10:09

Doug Stalter