Search Unity

  1. Unity 2019.1 is now released.
    Dismiss Notice

Cant install Unity Tools for Visual Studio 2019

Discussion in 'External Tools' started by der_Durchgepeitschte, Apr 3, 2019.

  1. der_Durchgepeitschte

    der_Durchgepeitschte

    Joined:
    Mar 28, 2019
    Posts:
    5
    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
     

    Attached Files:

    RustyCrow and nickeron like this.
  2. GeoffBot

    GeoffBot

    Joined:
    Oct 25, 2018
    Posts:
    3
    Same. I reverted to VS2017 and everything is good again. Going to wait a while before trying 2019 again.
     
    zetaFairlight likes this.
  3. sailro

    sailro

    Microsoft

    Joined:
    Jul 30, 2014
    Posts:
    70
    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]
     
  4. billg1955

    billg1955

    Joined:
    Dec 25, 2014
    Posts:
    4
    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.
     
  5. Kender

    Kender

    Joined:
    Nov 16, 2012
    Posts:
    143
    Try C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\Extensions\Microsoft\Visual Studio Tools for Unity
     
  6. billg1955

    billg1955

    Joined:
    Dec 25, 2014
    Posts:
    4
    Perfect Kender. Thank you very much. The extension is now enabled.
     
  7. andrewhoke

    andrewhoke

    Joined:
    Aug 29, 2018
    Posts:
    16
    Support for 2019 seems very hit or miss. The plugin doesn't work half the time for me.
     
  8. strich

    strich

    Joined:
    Aug 14, 2012
    Posts:
    277
    This doesn't work for me. I still can't enable the extension with the same dependency error.
     
  9. sailro

    sailro

    Microsoft

    Joined:
    Jul 30, 2014
    Posts:
    70
    Could you try to upgrade your VS 2019 installation. 16.1 was released today and should fix your issue.
     
    strich likes this.