Search code examples
visual-studioconfigurationvisual-studio-2003file-association

Reassociate file types with Visual Studio 2003


I have a dual setup development machine with Visual Studio 2003 and 2005.

How can I restore the original file associations to Visual Studio 2003?

Everytime I try to open up a *.cs file it opens it with 2005 when I want it to default open up in 2003.

I know how to do this using the the "Windows Explorer/Folder Options/File Types" interface, but I am wondering if there is a more efficient way to restore the associated file types back to Visual Studio 2003.

Edit:

In Visual Studio 2005 and 2008 you can restore file associations by following the menu links: Tools > Options > Environment > General > Restore File Associations

In order to restore file associations for Visual Studio 2003 you have to rerun the installation dvd and specify repair install.


Solution

  • It is actually possible to run VS.NET 2003 Repair in order to restore file associations for VS.NET 2003