2

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

1 Answer 1

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
Sign up to request clarification or add additional context in comments.

1 Comment

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.