I have on my laptop a development environment as win7 with std IIS, SharePoint 2010 Server, SQL 2008 R2 and Visual Studio 2010. I already installed Visual Studio 2012 side by side. But what about SharePoint 2013? I would like to develop and test for SP2010 as well as SP2013, but I don’t want to use any VM’s (this is only using more memory and more CPU cycles for again another full blown OS. I even don’t like VM’s any way on a laptop regarding sleep/hibernate and startup issues). Is there a way to accomplish this all in a “normal” fashion way? Or… what is the best way to achieve this? Can you install SP2010 and SP2013 side by side and how to setup the debugger for this (sometimes SP2010 and sometimes 2013) Or do you really need to install something like VM with SP2013 in it… and then do some remote deployment to this VM with the debugger attached to it? Is this even possible? What is the best practice here? Please advise… All information is welcome!
In addition to what rjcup3 already stated,
There are numerous reasons you can't install SharePoint 2010 and SharePoint 2013 side by side on one server, one of reason I am aware of is that SharePoint 2013 needs two folders 14 hive as well as 15 hive for operations so if you try to install it on top of SharePoint 2010 it will overwrite 14 hive of SharePoint 2010 which will make it corrupt and most likely un-usable.
I am surprised on one side you are saying that VM's take too many resources, but do you even know how much resources SharePoint needs to run a specific server ? Even imagining of SharePoint 2010 ans 2013 sounds like a night mare to me.
Another possible reason is that SharePoint interacts a lot with SQL databases so installing both on same sever (just saying) will crash your laptop (which just have 1 hard drive and maximum of 16 GB I assume.)
My tip for you would be to have get an external SSD hard-drive and keep one of VM on it and another one on your laptop's hard drive, its not just the ram that speeds up your computer but hard drive plays an important role too specially when its SharePoint.
Oh by there was a option in older versions of SharePoint for side by side install which was later on removed by Microsoft because of serious performance issues.
You can easily get strong second hand servers for development maybe for around £500 from ebay.
You might find this post helpful.
You can not install SharePoint 2010 and SharePoint 2013 "side by side" on the same box.
You must configure two separate environments for testing.
Here's an MSDN link walking you through configuring remote debugging for SharePoint 2013 (and it's limitations): Developing apps for SharePoint on a remote system.
Also, here's a link to walk through configuring remote debugging of event receivers in SharePoint 2013: Debugging Remote Event Receivers with Visual Studio
Only easy way to develop on one machine is using virtual machines (insert your favorite brand here).
Even when you only need to develop on one machine I would still go for a virtual machine solution. It's very easy to reset when you messed up your SP environment (I tend to do that a lot.. ;-) )
When developing with vm images. Make your life easy and invest in a high-end SSD and assign at least 4GB to the VM with SP2010 and 12GB for the VM with SP2013.