Skip to main content
Bumped by Community user
Fixed Spelling Mistakes; fixed formatting (incorrect use of code formatting)
Source Link
Gnemlock
  • 5.3k
  • 5
  • 30
  • 60

Unity Assembly*.dllassembly files missing in Tempfrom "Temp/bin/DebugDebug"

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:

enter image description hereUnityEngine and GameObhect reports an error: "The type or namespace could not be found (are you missing a using directive or an assembly reference?) [netcoreapp1.1]"

AlthoughHowever, intellisense seems to be working fine for UnityEngineUnityEngine types: enter image description hereIntellisense recognises the methods in MonoBehaviour.

 

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?

Unity Assembly*.dll files missing in Temp/bin/Debug

I'm trying to use VS Code on Mac with Unity and C#.

  When I try to open a Unity project in VS Code it can't load Assembly*.dll files from few locations which are defined by default in .csproj files: <OutputPath>Temp\bin\Debug\</OutputPath>

When I check those paths Temp\bin\Debug\ while Unity is running they are empty and it doesn't have those files (I assume they should). Although the files are in Library/ScriptAssemblies. Moving them is not an option because I would have to do that manually every time I change sth. in any script file. Changing the path in .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 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'

All type references coming from my custom scripts and UnityEngine are missing and highlighted as error:

enter image description here

Although intellisense seems to be working fine for UnityEngine types enter image description here

MonoDevelop seems to be installed properly, reinstalled few times, tried brew and downloadable package.

$ 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

Unity assembly files missing from "Temp/bin/Debug"

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.dll* files from few locations which are defined by default in .csproj files; "Temp\bin\Debug</OutputPath>".

When I check the *Temp\bin\Debug* paths, while Unity is running, they are empty; they doe not contain the assembly files, where I assume they should. The files are in "Library/ScriptAssemblies". Moving them is not an option, because I would have to do that manually every time I change sth. in any script file. Changing the path in the .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'

All type references coming from my custom scripts and the UnityEngine namespace are missing, and highlighted as errors:

UnityEngine and GameObhect reports an error: "The type or namespace could not be found (are you missing a using directive or an assembly reference?) [netcoreapp1.1]"

However, intellisense seems to be working fine for UnityEngine types: Intellisense recognises the methods in MonoBehaviour.

 

I tried to reinstall MonoDevelop it a few times, including 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

.NET works as well:

$ dotnet --version
1.0.0-preview2-1-003177


How do I fix this?

ImI'm trying to use VS Code on Mac with Unity and C#.

When im tryingI try to open a Unity project in VS Code it can't load Assembly*.dll files from few locations which are defined by default in .csproj files: <OutputPath>Temp\bin\Debug\</OutputPath>

When iI check those paths Temp\bin\Debug\ while unityUnity is running they are empty and it doesn't have those files (iI assume they should). Although the files are in Library/ScriptAssemblies. Moving them is not an option because iI would have to do that manually every time iI change sth. in any script file. Changing the path in .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 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'

All type references coming from my custom scripsscripts and UnityEngine are missing and highlighted as error:

enter image description here

Although intellisense seems to be working fine for UnityEngine types enter image description here

MonoMonoDevelop seems to be installed properly, reinstalled few times, tried brew and downloadable package.

$ 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

dotnet.NET works as well

$ dotnet --version
1.0.0-preview2-1-003177

Im trying to use VS Code on Mac with Unity and C#.

When im trying to open Unity project in VS Code it can't load Assembly*.dll files from few locations which are defined by default in .csproj files: <OutputPath>Temp\bin\Debug\</OutputPath>

When i check those paths Temp\bin\Debug\ while unity is running they are empty and doesn't have those files (i assume they should). Although files are in Library/ScriptAssemblies. Moving them is not an option because i would have to do that manually every time i change sth. in any script file. Changing the path in .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 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'

All type references coming from my custom scrips and UnityEngine are missing and highlighted as error:

enter image description here

Although intellisense seems to be working fine for UnityEngine types enter image description here

Mono seems to be installed properly, reinstalled few times, tried brew and downloadable package.

$ 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

dotnet works as well

$ dotnet --version
1.0.0-preview2-1-003177

I'm trying to use VS Code on Mac with Unity and C#.

When I try to open a Unity project in VS Code it can't load Assembly*.dll files from few locations which are defined by default in .csproj files: <OutputPath>Temp\bin\Debug\</OutputPath>

When I check those paths Temp\bin\Debug\ while Unity is running they are empty and it doesn't have those files (I assume they should). Although the files are in Library/ScriptAssemblies. Moving them is not an option because I would have to do that manually every time I change sth. in any script file. Changing the path in .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 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'

All type references coming from my custom scripts and UnityEngine are missing and highlighted as error:

enter image description here

Although intellisense seems to be working fine for UnityEngine types enter image description here

MonoDevelop seems to be installed properly, reinstalled few times, tried brew and downloadable package.

$ 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
Bumped by Community user
Source Link
lukasz
  • 151
  • 1
  • 5

Unity Assembly*.dll files missing in Temp/bin/Debug

Im trying to use VS Code on Mac with Unity and C#.

When im trying to open Unity project in VS Code it can't load Assembly*.dll files from few locations which are defined by default in .csproj files: <OutputPath>Temp\bin\Debug\</OutputPath>

When i check those paths Temp\bin\Debug\ while unity is running they are empty and doesn't have those files (i assume they should). Although files are in Library/ScriptAssemblies. Moving them is not an option because i would have to do that manually every time i change sth. in any script file. Changing the path in .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 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'

All type references coming from my custom scrips and UnityEngine are missing and highlighted as error:

enter image description here

Although intellisense seems to be working fine for UnityEngine types enter image description here

Mono seems to be installed properly, reinstalled few times, tried brew and downloadable package.

$ 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

dotnet works as well

$ dotnet --version
1.0.0-preview2-1-003177