Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 2010 Macros broken after updating to windows 10

I always used macros with Visual Studio. They are a part of my daily workflow. However, after upgrading from Windows 7 to Windows 10, the macros are now broken. Whenever I try to do anything macro-related, I get the following message "The .NET assembly 'Microsoft.Vsa' could not be found.

enter image description here

Either I click Yes or No, the macros are disabled. I can't even access the Macro explorer.

Anyone have a clue on how to resolve this?

like image 222
Goldorak84 Avatar asked Sep 03 '15 13:09

Goldorak84


1 Answers

I searched for the missing assembly Microsoft.Vsa.dll in the C:\Windows\Microsoft.NET\Framework\v4.0.30319 folder and it was indeed missing.

However, when upgrading to Windows10, the setup creates a backup of your Windows folder, along with some program files folder. Hoping I would find the assembly in the "old" folder, I searched for Microsoft.Vsa.dll in C:\Windows.old\Windows\Microsoft.NET\Framework\v4.0.30319 and found it.

I just copied it over to C:\Windows\Microsoft.NET\Framework\v4.0.30319 and bingo! the macros are now working!

I'm now wondering why did Microsoft remove this assembly... Maybe because they don't support Macros since Visual Studio 2012...

like image 132
Goldorak84 Avatar answered Oct 23 '22 17:10

Goldorak84