Visual Studio 2008 upgrade to 2010 (in-place, solutions, etc)? - visual-studio

I have Visual Studio 2008 installed on a Windows 2008 Enterprise Server. I am thinking of upgrading to Visual Studio 2010 and wanted to know if this would be an in-place upgrade, or do I have to completely uninstalled Visual Studio 2008 then install 2010? What about all my solutions, do I have to upgrade them to 2010 as well?

You can have both installed, and use them seperatly.
And only upgrade the projects you want.

To add to EKS there are some instances where you have to have side by side installation. Unmanaged C++/CLI code projects upgraded to VS2010 are forced to use .NET 4.0. So if you require to C+/CLI with .NET 3.5 or lower then you have to keep VS2008 around.
This is an issue that bit me and is really annoying.
Here is a Blog that describes the work around you have to make in order to use .NEt 3.5 etc and C+/CLI in VS2010

Related

New Laptop - Any reason to install Visual Studio 2012 AND 2013?

I've just been given a new work laptop and have an MSDN subscription. My old laptop had VS 2008, 2010 and 2012. I'd rather not install all of these again if I can avoid it. My main question here is whether there any reason to install VS 2012 if I have access to VS 2013? I believe Projects & Solutions are compatible, what other reasons might there be for installing VS 2012 (and for that matter VS 2010) again? If I have an MVC 3 app created with VS2010, will it be possible to open and work with that in VS2013 without having to "upgrade" the project type?
It really depends on what kind of projects you are working on. Each new releases of VS in fact remove certain features.
http://msdn.microsoft.com/en-us/library/vstudio/hh266747.aspx
ASP.NET MVC 3 is not supported by VS2013.
Lex' answer is pretty good. I'd also like to add that if you are using C++/CLI, upgrading to Visual Studio 2013 will force you to target .NET 4.5, which might not at all be desirable if your users only have .NET 4.0 etc.
You can still target the older frameworks, by letting VS2013 use the older "Platform Toolset" from e.g. VS2010 or VS2012, but this will force you to have either one of these installed. I am using this exact scenario (VS2010 + VS2013) and it works quite well. (I have only VS2010 and 2013, not 2012 in that specific virtual machine.)
Update: Here is a MSDN page which backs up my statement about C++/CLI, just for the reference.

Is it possible to downgrade from Visual Studio 2012 to Visual Studio 2010?

I have a wonderful solution in Visual Studio 2012 with a Web project using WebAPI and a supporting Web Service project for data using Entity Framework (EF) Code First. I was just told I need to see about using Visual Studio 2010.
Is there something I can do to work on this project in Visual Studio 2010?
As Henrick answers: you do not upgrade/downgrade VS installs, rather you install versions side by side.
You note two technologies that might be problematic:
EF Code First: this is supported from 4.1 (or was it 4.2?) which is supported against .NET 4.0 and VS2010. Providing your not using enum or geo/spatial data types (which require .NET 4.5) this should work, but you'll need to ensure you update to the EF5 NuGet package for .NET 4.
WebAPI: This is new in MVC4, which comes with VS2012, but is a separate install for .NET 4/VS2010.
Finally. While some project types with round trip between VS2012 and VS2010 SP1 (you need the service pack) it is not true for all project types. Details are on MSDN.
You can install Visual Studio 2010 separately and open the project and see. There is no danger in having version 2005, 2008, 2010 or 2012 of Visual Studio installed.

What Visual Studio for .NET 1.0 web development?

I have a old web application developed in .NET 1.0. How can I do some minor changes in it? What Visual Studio do I need and how do I obtain it? Or can I develop in some other tool?
Thanks in advance!
It was called VisualStudio.NET, followed by Visual Studio 2003 (also known as version 7.1).
I don't think this is available anymore, unless you have a pro MSDN subscription or above.
Visual Studio 2005/2008/2010 cannot be used for this, nor can mono-develop, but you might be able to use the version of SharpDevelop that supports 1.1.
You'd need Visual Studio 2002, it targeted .NET 1.0. That edition didn't last long, Visual Studio 2003 and .NET 1.1 quickly followed. Your project should have good odds opening and running properly on that edition. Odds get lower once you move to VS 2005/8 and .NET 2.0+
If you don't have VS2002 then you can obtain a license through an MSDN Library subscription. An auction site like Ebay is a cheaper alternative.
It was originally called Visual Studio.NET but later on also got referred to as Visual Studio 2002.
I looked it up and apparently you can still download it if you have an MSDN subscription.
You can use VS 2005, VS 2003, or VS 2002. I think the 2002 edition was called VS.NET.
From http://weblogs.asp.net/scottgu/archive/2007/06/20/vs-2008-multi-targeting-support.aspx
What about .NET 1.0 and 1.1?
Unfortunately the VS 2008 multi-targeting support only works with .NET 2.0, .NET 3.0 and .NET 3.5 - and not against older versions of the framework. The reason for this is that there were significant CLR engine changes between .NET 1.x and 2.x that make debugging very difficult to support. In the end the costing of the work to support that was so large and impacted so many parts of Visual Studio that we weren't able to add 1.1 support in this release.
VS 2008 does run side-by-side, though, with VS 2005, VS 2003, and VS 2002. So it is definitely possible to continue targeting .NET 1.1 projects using VS 2003 on the same machine as VS 2008.
Take a back up of your project.
Try to down load visual studio express 2008 version and open the project. you will have an option to convert. Once converted download the latest visual studio express and then convert into the latest version.
BTW Visual stuido express is FREE
Note:
Some of the methods may not be supported or droped. you need to recode them or replace them.

If I have Both Visual Studio 2008 and 2010, do have I have to keep both

I recently downloaded VS 2010 trial, the new version is more easy to use.
I have VS 2008 installed, If i decide to use VS 2010 in the future, do I still have to keep VS 2008? Is there any compatibility issue with it?
You would need to keep VS2008 installed if you target Windows CE (via Compact Framework, native smart device projects, etc.)
http://msdn.microsoft.com/en-us/library/sa69he4t.aspx
Also if you want to write native applications that run on versions of Windows before XP SP3 and Server 2003 SP2, this is no longer possible with VC++ 2010. The same applies to managed code written for the .NET Framework 4.0, but you can still use Framework 3.5 with VS2010 for projects with managed code only.
And Intellisense for C++/CLI code is gone (MS promises to remedy that in the future, whether a service pack or the next version I cannot say).
If you open a VS 2008 solution or a project in VS 2010 it will be converted to VS 2010 and you will not be able to open it in VS 2008.
If that is not a problem then you don´t have to keep VS 2008, unless you are using a addin or some other third party application with VS 2008 that is not compatible with VS 2010.
Edit:
Look at Ben Voigt´s answer for information for which version have support for different platforms.
VS2010 allows you to specify the target framework that you'd like to develop on. There should be no reason to keep VS2008 installed unless you've become accustom to some handy plugins :)

Installing VS 2010 B2 & .NET 4 B2: What are the consequences to my system and previous installations of VS & .NET 3.5 SP1?

I want to try out the new Beta 2 of Visual Studio 2010, but I'm not sure if the installation (or the included .NET Framework 4 Beta 2) is self-contained, or if it will somehow impact my system beyond adding an entry for Visual Studio 2010 to my start menu.
The machine I want to install Visual Studio 2010 is my main development machine, so it is critical that no changes are made to Visual Studio Team System 2008 & .NET 3.5 SP1, already on the system.
Can I install Visual Studio 2010 Beta 2 without breaking my development environment?
Visual Studio 2010 b2 is supposed to be safe to install side-by-side with VS 2008. There is a problem with the Silverlight 3 Toolkit, where you have to reinstall it.
ScottGu blogged about it here: http://weblogs.asp.net/scottgu/archive/2009/10/19/vs-2010-and-net-4-0-beta-2.aspx
They install fine side-by-side with just the SL3 proviso as Rune says, but bear in mind that if you start opening VS2008 solutions in VS2010 it will want to migrate them and you will have problems re-opening the migrated solutions in VS2008.
You can get around this by creating separate solutions for each VS version and using the same projects/code in both, see this SO thread:

Resources