Goldorak84
Goldorak84

Reputation: 3972

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?

Upvotes: 8

Views: 4620

Answers (1)

Goldorak84
Goldorak84

Reputation: 3972

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...

Upvotes: 15

Related Questions