如何使Visual Studio 2010将文件扩展名识别为C#/ ASPX / C / C ++文件? [英] How to make Visual Studio 2010 recognize file extensions as C#/ASPX/C/C++ files?

查看:147
本文介绍了如何使Visual Studio 2010将文件扩展名识别为C#/ ASPX / C / C ++文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这里有VS 2005的解决方案:

There was a solution for VS 2005 here:

http://www.dotnetmonster.com/Uwe/Forum.aspx/vs/3298/Make-Visual-C-recognize-file -extensions-as-C-files

但是找不到VS2008和VS2010相同的注册表。那么我在哪里可以找到解决方案更新呢?感谢。

But doesn't find same registry for VS2008 and VS2010. So where can I find the solution update for this ? Thanks.

推荐答案

如果您要查找的是VS 2010编辑器中不同扩展的语法高亮: >选项 - > TextEditor - >文件扩展名并输入扩展名。

If what you're looking for is syntax highlighting for different extensions in the VS 2010 editor: Go to Tools -> Options -> TextEditor -> File Extensions and enter the extension.

这篇关于如何使Visual Studio 2010将文件扩展名识别为C#/ ASPX / C / C ++文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆