Reassociate files types for visual studio 2012

2020-04-01 12:26发布

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?

2条回答
该账号已被封号
2楼-- · 2020-04-01 13:05

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.

查看更多
对你真心纯属浪费
3楼-- · 2020-04-01 13:08

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.

查看更多
登录 后发表回答