visual studio 2008(VS2008)中不能运行自定义宏的解决办法

之前在WinXp上装了VS2008的英文版,可以正常运行自已写的宏,可以为文件和函数添加注释。

后来换了一台电脑,装的是Win7和VS2008的简体中文版,发现宏运行不了啦。


之前用百度找了很久,一直没有找到答案。

后来换了一个搜索引擎,终于解决了。


解决过程如下:

1,在搜狗(www.sogou.com)中搜索“VS2008 Macro”,找到:

VS 2008 macros disabled - Stack Overflow

http://stackoverflow.com/questions/21944116/vs-2008-macros-disabled

文中提到:

This is a known issue caused by a recent Windows update. See Visual Studio 2010 Macros Stop Working after February 2014 Windows Update for solutions how to fix it.


2,进入链接:

http://visualstudioextensions.vlasovstudio.com/2014/02/13/visual-studio-2010-macros-stop-working-after-february-2014-windows-update/

使用更改config文件的办法,但保存时却提示那三个config文件正在使用中,不能覆盖保存。

找到后面的方法:

Update (October 25): Microsoft released an update for Microsoft Visual Studio 2008 Service Pack 1 that fixes the issue of Visual Studio Macros stop working after installing MS14-009: Download KB2938806. And similar update for Microsoft Visual Studio 2005 Service Pack 1: Download KB2938803.


3,进入链接:

http://www.microsoft.com/en-us/download/details.aspx?id=42540

更改为中文,下载补丁:

KB2938806

安装后,问题解决。

  • 2
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值