News for hackers. Stuff that matters.
Re:Visual Studio 2013 by danbruc on Monday June 03, 2013 @03:50PM (#5815468)
You can install several versions of Visual Studio side by side - keep an old version for maintaining legacy projects, use a new version for new projects.
Re:Visual Studio 2013 by pjmlp on Monday June 03, 2013 @04:15PM (#5815639)
Except you cannot have .NET 4.0 and 4.5 on the same machine, given the way 4.5 overwrites 4.0.
Re:Visual Studio 2013 by danbruc on Monday June 03, 2013 @04:43PM (#5815870)
Version 4.5 was designed to be backward compatible to version 4.0 and is indeed an in-place update. Therefore after installing version 4.5 you will no longer have version 4.0 assemblies but you can still target version 4.0 using the backward compatible version 4.5 assemblies.

Nevertheless I have read some worries that some bug fixes (may) break backward compatibility and therefore projects targeting version 4.0 developed on machines with version 4.5 installed may behave differently when run on machines with only version 4.0 installed. If this is a real problem, that is if there are observable changes and therefore version 4.5 is not fully backward compatible to version 4.0, I can not tell.

UPDATE: There is a published list of breaking changes [1].

[1] http://msdn.microsoft.com/en-us/library/hh367887.aspx

[deleted]
Re:Visual Studio 2013 by danbruc on Monday June 03, 2013 @05:16PM (#5816069)
After reading through the two linked pages I can not see the relevance. The first article just discusses the in-place update but shows no (real) problems with that. The problem in the Stackoverflow question turns out to be caused by a bug in the OPs code and not by a breaking change between versions 4.0 and 4.5. Of interest may be the linked list of breaking changes [1] and given the size of the .NET framework it is a very short list.

[1] http://msdn.microsoft.com/en-us/library/hh367887.aspx

Note: The deleted comment was something like »This is not true«.

Re:Visual Studio 2013 by pjmlp on Monday June 03, 2013 @06:07PM (#5816375)
Even if there was only one issue, that is an issue to spend effort working around it if you're the poor soul that needs to do the fix for the product that broke.
Re:Visual Studio 2013 by danbruc on Monday June 03, 2013 @06:58PM (#5816639)
I am still unable to see the problem. It's your decision if you switch to 4.5 or not. If you have projects targeting 4.0 and are unable to ensure that you code does not hit any of the documented breaking changes or if you are unwilling to take the risk of hitting unknown or undocumented compatibility problems, then don't switch to 4.5. Or take a hybrid solution - develop against 4.5 but test against 4.0.

We have deviated quite a bit from the original comment - you can install different Visual Studio (and .NET framework) versions side by side if you have to support legacy projects. There are some case where this will not work - obvious examples are .NET 1.0 not being supported since Vista, .NET 1.1 since Windows 8 - but there are still a lot of cases where this works just fine. If an side by side installation is not possible, you can still just setup up a second machine or a virtual machine for you legacy development needs. Not being able to upgrade Visual Studio because you have to support legacy projects is mostly a non-issue.

Re:Visual Studio 2013 by pjmlp on Tuesday June 04, 2013 @12:57AM (#5817800)
In our case teams that are supporting .NET 4.0 are not allowed to upgrade for .NET 4.5, precisely because of the .NET 4.5 bug fixes that lead to different behaviors between versions.