Cant install Unity Tools for Visual Studio 2019

Hi guys,
i have major problems with my Visual Studio. I want to install the Unity Tools on Visual Studio 2019, but i get the error you can see in the attached picture.
It says that i can´t activate the tools because they want some “Visual Studio MPF 15.0” and i haven´t found anything anywhere to solve this problem.
Maybe you guys can help, please?

Best regards

2 Likes

Same. I reverted to VS2017 and everything is good again. Going to wait a while before trying 2019 again.

2 Likes

Hello,

This is an issue with VS2019 that should be corrected soon. You should hit this issue only if you tried to disable/re-enable the extension.

As a workaround, you should try to close VS, then go to:
c:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\Extensions\Visual Studio Tool for Unity

And edit the file extension.vsixmanifest, removing the line:
<Dependency Id=“Microsoft.VisualStudio.MPF.15.0” DisplayName=“Visual Studio MPF 15.0” … />

Regards
Sebastien Lebreton [MSFT]

1 Like

There is no sub directory named Visual Studio Tools for Unity inside of Extensions. Yet i do have the extension in my Visual Studio. I just can’t enable it.

Try C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\Extensions\Microsoft\Visual Studio Tools for Unity

Perfect Kender. Thank you very much. The extension is now enabled.

Support for 2019 seems very hit or miss. The plugin doesn’t work half the time for me.

This doesn’t work for me. I still can’t enable the extension with the same dependency error.

Could you try to upgrade your VS 2019 installation. 16.1 was released today and should fix your issue.

1 Like

I could not get VS 2019 working with Unity either. Files are being opened with the Notepad, extension association is lost.
I made an association manually using WIndows, but Unity opens just the file I clicked, not the whole solution like VS 2017.
So I reverted to 2017 for now.

Microsoft Visual Studio Tools for Unity is installed directly in “C:\Program Files (x86)” for me on Windows 7 SP1. “C:\Program Files (x86)\Microsoft Visual Studio” just contains a “Installer” directory full of .dll alongside three folders.