1

I have cloned an existing Unity project from git on a new machine, and the source does not include *.sln or *.csproj.

I have also downloaded Visual Studio from Unity Hub, but the editor doesn't work with Unity:

  1. VS doesn't recognize Unity components
  2. Unity doesn't update VS project (new scripts not recognized in VS)

enter image description here

I have selected VS as external tool for Unity, as shown here:

enter image description here

I also installed anything VS suggests (Mono, and a few plugins, etc). What's still missing?

The VS version is 7.7.4 and Unity is 2019.02

knh190
  • 2,744
  • 1
  • 16
  • 30

1 Answers1

1

Problem fixed when I happened to re-open the project inside Unity:

Asset > Open C# Project

References:

  1. Autocompletion not working in Visual studio
  2. https://answers.unity.com/questions/1451377/autocomplete-in-visual-studio-wont-work-please-hel.html
knh190
  • 2,744
  • 1
  • 16
  • 30
  • Also install Visual Studio Tools for Unity if you haven't already. This will let you, for example, make persistent changes to the generated project files. –  May 21 '19 at 16:48