Search Unity

Visual Studio 2017 does not recognize Unity Project properly.

Discussion in 'Editor & General Support' started by Nidre, Mar 14, 2017.

  1. Nidre

    Nidre

    Joined:
    Dec 12, 2012
    Posts:
    22
    What Happens;
    1. I've installed Visual Studio 2017 with VS tools included in it.
    2. I've selected it as the code editor in the Unity preferences.
    3. About menu shows that Visual Studio Tools enabled. Version: 3.x.
    4. When I launch a script from the editor, Visual Studio 2017 successfully launches.
    5. But; None of the features of VS Tools are active. Such as Attach to Unity, Unity Explorer, and so on so forth.
    6. Everything works fine with Visual Studio 2015.
    What I've tried and did not work;
    1. I've tried to uninstall everything with Mircosoft's open source tool TotalUninstaller and just installed 2017 without 2015 at all. Did restarts in between.
    2. Manually importing Unity Package of VS Tools 2017 into the project.
    3. Deleting .vs and solution files and forcing them to regenerate.
    4. Different Unity versions; 5.3.6p4, 5.3.3f1, 5.3.7p3
    Questions;
    1. Is there some sort of compatibility issue with 5.3.x versions that I'm missing?
    2. Does anyone got it work with 5.3.x, how?
    3. Any idea how to resolve this issue?
     
  2. Carwashh

    Carwashh

    Joined:
    Jul 28, 2012
    Posts:
    762
    It's working fine with Unity v5.5.1f1, I didn't do anything special when installing - just ticked the box in the VS2017 installation.

    Have you tried any version after 5.3? Try 5.5, if that works then I guess the problem is with <5.5..?
     
  3. Nidre

    Nidre

    Joined:
    Dec 12, 2012
    Posts:
    22
    Seems like it is not supported for older versions of Unity.

    I've tried

    5.3.3f1
    5.3.7p3
    5.3.6p4
    and
    5.5.1f1 (works)

    so far.
     
  4. rafael_galindo

    rafael_galindo

    Joined:
    Jun 30, 2016
    Posts:
    5
    It doesn't work on 5.3, on 5.5.1 an up works fine.
     
  5. SIMMORSAL1

    SIMMORSAL1

    Joined:
    Aug 31, 2016
    Posts:
    10
    doesn't work with 5.4 either
     
  6. andymads

    andymads

    Joined:
    Jun 16, 2011
    Posts:
    1,614
    What box are you referring to?

    Screen Shot 2017-06-06 at 17.45.03.png
     
  7. Nidre

    Nidre

    Joined:
    Dec 12, 2012
    Posts:
    22
    Mac installer looks a lot different, not sure if you've this checkbox or not :) But anyways my issue was with 5.3. 5.5 works fine.
     
  8. Carwashh

    Carwashh

    Joined:
    Jul 28, 2012
    Posts:
    762
    I'm referring to the Windows version, on Mac I just use VS Code. I believe Mac VS is just Xamarin? It's certainly not the same as the Windows version.