Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Reassociate files types for visual studio 2012

Tags:

I've had an install of 2012 for a while, but I've had to also just install VS 2010. As expected, all my file associations now point to VS2010 and the icons aren't so intuitive. Without doing each file manually through the explorer menu, how can I quickly revert/change the associations back to VS2012?

like image 721
friartuck Avatar asked Apr 14 '13 07:04

friartuck


People also ask

What is the extension of a Visual Basic file?

Visual Basic Extension (VBX)


2 Answers

Open VisualStudio - Tools > Options.

Then go to General Page of Environment and click the Manage File Associations button.

A Window in the controlpanel will be opened(Control Panel\Programs\Default Programs\Set Default Programs\Set Program Associations)

.Select Extensions you want to associate to VisualStudio2012 and click the Save button.

like image 108
NieFan Avatar answered Oct 04 '22 09:10

NieFan


The accepted answer only assignes file extensions to Visual Studio as a whole. To tell VS how to handle a file extension (like syntax highlighting), go to Tools > Options > Text Editor > File Extension and add your extension to the list.

like image 22
Jorr.it Avatar answered Oct 04 '22 10:10

Jorr.it