Therefore your assembly may not be correctly targeted for the framework you intend.įailed to load project file 'f:\Projects\*******\Assembly-CSharp.csproj'.į:\Projects\*******\Assembly-CSharp.csprojĬ:\Users\#\.vscode\extensions\ms-vscode.csharp-1.15.2\.omnisharp\1.30.1\msbuild\15.0\Bin\(1126,5): Error: The reference assemblies for framework ".NETFramework,Version=v4.7.1" were not found.
To resolve this, install the SDK or Targeting Pack for this framework version or retarget your application to a version of the framework for which you have the SDK or Targeting Pack installed. Note that assemblies will be resolved from the Global Assembly Cache (GAC) and will be used in place of reference assemblies. Therefore your assembly may not be correctly targeted for the framework you intend. What symbols are is dependent on the file type. CMD+SHIFT+O shows the list of symbols found in the current file. Ctrl-G opens the command palette to let you enter a line number to go to. Here are others: Ctrl-Shift-Tab shows you the active files. Nothing has changed in my environment, save for updating Unity from 2018.1.X to 2018.2.1f1 I had Intellisense with 2018.1 in the morning, updated to 2018.2 over lunch, and no Intellisense in the afternoon. That’s a shortcut to a specific feature of the Command Palette.
This or similar issue has been reported in OmniSharp's github.Īnd seems like there are two copies of that folder, one in Visual Studio Community edition (that I installed along Unity) and one in VS Code folder.įor some reason OmniSharp decides to load the one in Visual Studio folder, which results in something missing. Setup C 7.x compilation in Unity 2018.2 and Visual Studio 2017 Raw setup-c7-with-unity2018-2.md Set the unity scripting runtime to '.NET 4.x Equivalent' In Unity goto 'Edit->Preferences->Player' then find and set 'Scripting Runtime Version' to '.NET 4.
Confirmed that the Visual Studio Code Editor package is installed in Unity.I also made sure that the External Script Editor is chosen as Visual Studio Code. Regenerated project files by going to Preferences -> External Tools -> checking all boxes and clicking Regenerate project files.I confirmed this by going to Project Settings -> Player -> Configuration -> Active Input Handling and confirming that Input System Package (New) is selected. After installing, clicked 'yes' on the popup to use the new system instead of the legacy system.
Actual result: Two Visual Studio Code windows are opened. Select 'Assets/ Open C Project' Expected result: Only one Visual Studio Code window is opened.
Visual Studio Code is not recognizing the InputSystem namespace on the line using UnityEngine.InputSystem, reporting that: I've just installed the Input System Package in Unity.