http://blog.sina.com.cn/s/blog_6923201d0100xmfc.html
(1)VS全局环境变量配置 vs下属性管理器在“视图”-->“其他窗口”-->"属性管理器"
首先找到Visual Studio 2010的属性资源管理器,如下图 1
图 1 Visual Studio 2010 属性资源管理器
如果是配置Debug下的全局依赖项,双击“Micosoft Cpp.Win32.user”,把需要添加的一些依赖项添加进来即可
安装以上配置完成以后,以后所有的项目都可以使用这次添加的依赖项了,而不需要每次新建项目都重新添加了! (2)VS在编写Win32 Console Application的时候,总是弹出一个错误窗口,提示异常,如果继续编写程序,Visual Studio 2010就提示必须重新启动,错误代码如下: Visual Studio has encountered an exception.This may be caused by an extension.
You can get more information by running the application together with the /log parameter on command line ,and then examining the file 'C:\Document and Settings\Administrator\Application Data\Microsoft\Visual Studio\10.0\ActivityLog.xml' 解决方案: 打上这个补丁VS10-KB2251084-x86.exe (3)让visual studio 2010完成代码的自动排版功能 快捷键:Alt+F8
Good Luck!
(1)VS全局环境变量配置 vs下属性管理器在“视图”-->“其他窗口”-->"属性管理器"
首先找到Visual Studio 2010的属性资源管理器,如下图 1

如果是配置Debug下的全局依赖项,双击“Micosoft Cpp.Win32.user”,把需要添加的一些依赖项添加进来即可
安装以上配置完成以后,以后所有的项目都可以使用这次添加的依赖项了,而不需要每次新建项目都重新添加了! (2)VS在编写Win32 Console Application的时候,总是弹出一个错误窗口,提示异常,如果继续编写程序,Visual Studio 2010就提示必须重新启动,错误代码如下: Visual Studio has encountered an exception.This may be caused by an extension.
You can get more information by running the application together with the /log parameter on command line ,and then examining the file 'C:\Document and Settings\Administrator\Application Data\Microsoft\Visual Studio\10.0\ActivityLog.xml' 解决方案: 打上这个补丁VS10-KB2251084-x86.exe (3)让visual studio 2010完成代码的自动排版功能 快捷键:Alt+F8
Good Luck!
本文由VS软件圈(vssoft.net)发布,不代表VS软件圈立场,转载联系作者并注明出处:https://vssoft.net/vsazwt/VS2010anzhuangwenti/2020/0724/2297.html