Post by mpIf i install vc#2010 is it going to hose my 2008 files/ ide?
ie do files written in 2008 need revised to run in 2010?
or is it a pretty painless transition?
You can easily run VS2008 and VS2010 together on the same computer, no
problem. In fact, I have had at least three version installed at once
on one computer (2005, 2008, and 2010).
However, you will find that the .sln and .csproj files are not
interchangeable. VS2010 can upgrade from 2008, but you won't be able to
open those files in 2008 later. And you can't use a 2008 solution or
project form 2010 unless it's been upgraded first to the 2010 format
(and I use the term "format" loosely…99.9% of the content of the files,
which are just plain text files, is identical from version to version; I
find the versioning issues frustrating).
The actual .cs files (and other kinds of source code) _can_ be shared,
of course. But that means referencing the same source file from
multiple projects, which is generally not a great idea. Sometimes it's
the only way out of an already less-than-optimal situation though. :)
In general, you should stick to doing only things in 2010 that you know
you won't want to go back and use 2008 for. It is possible to downgrade
a solution/project from 2010 to 2008, but it's usually more trouble than
it's worth. I've found it's easier, if I really have to get my 2010
code back into a 2008 project, to just create a new solution and project
from scratch and add the source files back to the project manually. But
it's easiest to just not have to do that in the first place. :)
Pete