views:

320

answers:

1

Hello,

Could anyone please let me know if I could safely install VS-2008 on a machine which already has VS-2010?

+4  A: 

Yes. I have done it many times. They install side by side. In fact, as Tim mentioned in the comments below, all versions of VS are designed to be capable of concurrent installs. Quite handy.

UPDATE: Hans Passant brings up a good point in the comments below and that is that the last version of VS that you install will grab the file associations. This has personally never been an issue for me but you will want to be aware of it. Thanks Hans!

You can restore file associations in Tools > Options > Environment > General > Restore File Associations

Bradley Mountford
just an additional data point - I have no installed 2010 yet, but in the past I have had VC6, 2005 and 2008 all on the same machine working fine.
Tim
@Tim Good point to mention that all previous versions are designed to install side-by-side as well.
Bradley Mountford
Great, thank you for the quick response.
VoodooChild
Glad I could help!
Bradley Mountford
That's not my experience btw. I know for a fact that installing VS2005 *after* VS2008 would mess up the file associations. Not sure about VS2010, but a repair might be needed to get them back. They are otherwise isolated.
Hans Passant
@Hans file associations are no big deal - you can just change them right back.
Tim
@Tim: do you have a good procedure to change that many of them back?
Hans Passant
VS2010 In the Tools Option -> Go to General Page of Environment and click the ‘Restore File Associations’ button. Click OK when done.
VoodooChild
This was a real hassle for me when I installed VC4 - the mobile dev environment or something. It was horrendous to double click on a cpp file and have the worst code editor on the machine open up. Voodoo child I think has the right solution though I only did them manually from the registry or explorer.
Tim