Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unity Project doesn't have solution file

I just started learning unity and I created a project. But my project doesn't have a sln file included in. Every time I create a C# script and open it in Xamarin Studio I can't have any intellisense.

  1. Is it normal not to have sln file in unity project?
  2. If not, how can I add solution file to project?
  3. Why that happened?
like image 570
aakpro Avatar asked Sep 29 '14 07:09

aakpro


2 Answers

If "Open C# Project" doesnt create the .sln file, try updating your external tools first.

In Unity, go to Edit > Preferences, and make sure that Visual Studio is selected as your preferred external editor.

This created the sln file for me.

like image 164
SSchmid Avatar answered Sep 21 '22 06:09

SSchmid


I finally found the answer.

I closed Xamarin and inside Unity went Assets > Sync MonoDevelop Project Doing this created the two .sln projects: -csharp.sln and .sln

like image 26
aakpro Avatar answered Sep 20 '22 06:09

aakpro