Search Unity

Visual Studio 2019 +2019.f1

Discussion in 'Editor & General Support' started by Player7, Apr 21, 2019.

  1. Player7

    Player7

    Joined:
    Oct 21, 2015
    Posts:
    1,533
    Have vstools for 2019 installed.. but Unitiy no longer opens VS at the point of an error line etc, or even shows the errors in vs error console like before, and even the solution explorer in vs isn't showing the project like it used to.. pretty much just treating devenv like a notepad for each file opened.. unlike before with vs2018 ... really broken and I'm still unsure of why the Hub doesn't have the vstools bit to download.
     
  2. konsic

    konsic

    Joined:
    Oct 19, 2015
    Posts:
    995
    I also got problem.

    I can't select VS 2019 in Unity editor preferences.
     
  3. Player7

    Player7

    Joined:
    Oct 21, 2015
    Posts:
    1,533
    yeah it used to be visual studio in the external script editor.. now it's just devenv.exe with no other option :S
     
  4. konsic

    konsic

    Joined:
    Oct 19, 2015
    Posts:
    995
    I had to uninsatll VS and erase old data in APP data folder.

    What I found that compiling scripts takes longer time than in old monodevelop.

    My PC is not fast and gets anoying because Unity completely frezees when VS is compiling.
     
  5. Player7

    Player7

    Joined:
    Oct 21, 2015
    Posts:
    1,533
    hmm? well I reinstalled vs2017 only took another 1.3gb to put back again, and now unity detects Visual Studio, and doesn't need the devenv.exe shortcut.. it all works like it did before.. sad they couldn't have gotten that all working properly for vs2019 and unity 2019.1 releases
     
  6. EusebiuMarcu

    EusebiuMarcu

    Joined:
    Sep 20, 2018
    Posts:
    26
    UnityEditor 2019.1.0f2 detects fine Visual Studio 2019 (Enterprise) - I uninstalled VS 2017 before installing VS 2019 and Unity Editor (using the Hub)
     
  7. Player7

    Player7

    Joined:
    Oct 21, 2015
    Posts:
    1,533
    well that's strange, because I also uninstalled vs2017 before installing vs2019 (community), and then installed unity2019.1 and that detected nothing.. even installed the vstools for unity in vs installer.
     
  8. MrLucid72

    MrLucid72

    Joined:
    Jan 12, 2016
    Posts:
    996
    unity_EUYEko28P0KC2Q likes this.
  9. Player7

    Player7

    Joined:
    Oct 21, 2015
    Posts:
    1,533
    I don't get that option at all in Unity, despite vs2019 being installed.
     
  10. MrLucid72

    MrLucid72

    Joined:
    Jan 12, 2016
    Posts:
    996
    Did you also install the "Tools for Unity" in teh same installer?
     
  11. Player7

    Player7

    Joined:
    Oct 21, 2015
    Posts:
    1,533
    why I did yes
     
  12. KarlKarl2000

    KarlKarl2000

    Joined:
    Jan 25, 2016
    Posts:
    606
    Yea same here. I can't open VS 2019.. and now VS2017 is crashing on me. :(
     
  13. j-swan

    j-swan

    Joined:
    Oct 21, 2013
    Posts:
    19
    for some reason unity just stopped opening my files in Visual Studio 2017. I can change the editor to VSCode and it works, but no dice when its set to 2017. just came out of the blue.
     
  14. clickytwisty

    clickytwisty

    Joined:
    Feb 12, 2018
    Posts:
    2
    I had this same problem with 2019.2 and VS2019. Then I noticed in the release notes, "Editor: Added VSCode, Visual Studio, and Rider code editor integration as Packages." My project had an old version of the Visual Studio Editor package. After upgrading it to the latest version, Visual Studio started working again with the Unity editor.
     
    John_MSFT and VOTRUBEC like this.