Visual Studio 2017 does not recognize Unity Project properly.

What Happens;

  • I’ve installed Visual Studio 2017 with VS tools included in it.

  • I’ve selected it as the code editor in the Unity preferences.

  • About menu shows that Visual Studio Tools enabled. Version: 3.x.

  • When I launch a script from the editor, Visual Studio 2017 successfully launches.

  • But; None of the features of VS Tools are active. Such as Attach to Unity, Unity Explorer, and so on so forth.

  • Everything works fine with Visual Studio 2015.

What I’ve tried and did not work;

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

  • Manually importing Unity Package of VS Tools 2017 into the project.

  • Deleting .vs and solution files and forcing them to regenerate.

  • Different Unity versions; 5.3.6p4, 5.3.3f1, 5.3.7p3

Questions;

  • Is there some sort of compatibility issue with 5.3.x versions that I’m missing?
  • Does anyone got it work with 5.3.x, how?
  • Any idea how to resolve this issue?

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…?

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.

It doesn’t work on 5.3, on 5.5.1 an up works fine.

doesn’t work with 5.4 either

What box are you referring to?

3097109--233766--Screen Shot 2017-06-06 at 17.45.03.png

Mac installer looks a lot different, not sure if you’ve this checkbox or not :slight_smile: But anyways my issue was with 5.3. 5.5 works fine.

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.