Thursday 17 April 2014

Visual Studio macros don't work and prompt to save "MyMacros" every time



From a few months ago, I've been getting this prompt on Visual Studio 2010 and 2008, which is really nasty. Microsoft announced that one of Windows Updates on Feb 2014 introduced this issue. As per MS, this issue seems to be a side effect of MS14-009 update. 

How to fix (x64 Windows): 
  1. Close all Visual Studio instances. 
  2. Search vs*.exe.config files under C:\Program Files (x86)\Common Files\Microsoft Shared. It will display a few of vsmsvr10.exe.config and vsaenv10.exe.config.
  3. Search devenv.exe.config under C:\Program Files (x86)\. It will also display a few of them. 
  4. Open those config files and append this information on all of them. 
    •   <configuration>      <runtime>          <AllowDComReflection enabled="true"/>  
References

Evernote helps you remember everything and get organized effortlessly. Download Evernote.