I'm trying to use VS Code on a Mac with Unity and C#.
When I try to open a Unity project in VS Code, it can't load Assembly*.dllAssembly.dll* files from few locations which are defined by default in .csproj files:.csproj files; <OutputPath>Temp\bin\Debug\</OutputPath>"Temp\bin\Debug</OutputPath>".
When I check thosethe *Temp\bin\Debug* paths Temp\bin\Debug\, while Unity is running, they are empty and it doesn't have thoseempty; they doe not contain the assembly files (I, where I assume they should). Although theThe files are in Library/ScriptAssemblies"Library/ScriptAssemblies". Moving them is not an option, because I would have to do that manually every time I change sth.sth. in any script file. Changing the path in the .csproj.csproj files is also not a good idea, because those files get rewritten every time you open a project in Unity.
This issue causes lot of problems in the editor:
[WARNING:OmniSharp#MSBuild] Unable to resolve assembly '/[...]/Temp/bin/Debug/Assembly-CSharp-firstpass.dll'
[INFORMATION:OmniSharp#MSBuild] Update project: Assembly-CSharp-Editor-firstpass
[WARNING:OmniSharp#MSBuild] Unable to resolve assembly '/[...]/Temp/bin/Debug/Assembly-CSharp-firstpass.dll'
[INFORMATION:OmniSharp#MSBuild] Update project: Assembly-CSharp-Editor
[WARNING:OmniSharp#MSBuild] Unable to resolve assembly '/[...]/Temp/bin/Debug/Assembly-CSharp-Editor-firstpass.dll'
[WARNING:OmniSharp#MSBuild] Unable to resolve assembly '/[...]/Temp/bin/Debug/Assembly-CSharp-firstpass.dll'
[WARNING:OmniSharp#MSBuild] Unable to resolve assembly '/[...]/Temp/bin/Debug/Assembly-CSharp-firstpass.dll'
[INFORMATION:OmniSharp#MSBuild] Update project: Assembly-CSharp-Editor-firstpass
[WARNING:OmniSharp#MSBuild] Unable to resolve assembly '/[...]/Temp/bin/Debug/Assembly-CSharp-firstpass.dll'
[INFORMATION:OmniSharp#MSBuild] Update project: Assembly-CSharp-Editor
[WARNING:OmniSharp#MSBuild] Unable to resolve assembly '/[...]/Temp/bin/Debug/Assembly-CSharp-Editor-firstpass.dll'
[WARNING:OmniSharp#MSBuild] Unable to resolve assembly '/[...]/Temp/bin/Debug/Assembly-CSharp-firstpass.dll'
All type references coming from my custom scripts and UnityEnginethe UnityEngine namespace are missing, and highlighted as errorerrors:
AlthoughHowever, intellisense seems to be working fine for UnityEngineUnityEngine types:


MonoDevelop seemsI tried to be installed properly, reinstalledreinstall MonoDevelop it a few times, triedincluding a brew and downloadable package. MonoDevelop seems to be installed properly:
$ mono --version
Mono JIT compiler version 4.6.2 (mono-4.6.0-branch/ac9e222 Wed Dec 14 17:02:09 EST 2016)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
TLS: normal
SIGSEGV: altstack
Notification: kqueue
Architecture: x86
Disabled: none
Misc: softdebug
LLVM: yes(3.6.0svn-mono-master/8b1520c)
GC: sgen
$ mono --version
Mono JIT compiler version 4.6.2 (mono-4.6.0-branch/ac9e222 Wed Dec 14 17:02:09 EST 2016)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
TLS: normal
SIGSEGV: altstack
Notification: kqueue
Architecture: x86
Disabled: none
Misc: softdebug
LLVM: yes(3.6.0svn-mono-master/8b1520c)
GC: sgen
.NET works as well:
$ dotnet --version
1.0.0-preview2-1-003177
$ dotnet --version
1.0.0-preview2-1-003177
How do I fix this?
