In the latest version of Unity ( 5.2) there is no “Assets > Sync MonoDevelop Project” in the menu like before, only “Open C# Project”.
I use Sublime Text and I need to be able to generate those .sln manually so that OmniSharp reads them and generate Auto-completion and other IntelliSense features for the project. How can I do that?
It is NOT working for me in Unity 2018 with Sublime Text 3. “Open C# Project” just opens empty file with no name and does not generate anything.
To RE-GENERATE solution (*.sln) and project files you have to:
- switch back external script editor to Visual Studio
- Assets → Open C# Project
- at this stage .sln and .csproj should be generated
- switch back to sublime as external editor.
I’ll just leave it here…
I made utility: SyncSolutionUtilities
Examples:
-Use from editor: Unity menu -> Assets -> Sync C# Solution
-Use from script: SyncSolutionUtilities.Sync(bool logsEnabled)
[154370-syncsolutionutilities.zip|154370]
I am sure this is outdated, but this needs to set in order for the OP solution to work