Search Unity

Visual Studio Code: Use Mono instead of DotNET to auto-complete code

Discussion in 'Scripting' started by jgalec, Dec 10, 2020.

  1. jgalec

    jgalec

    Joined:
    Jul 18, 2018
    Posts:
    2
    Hello to everyone! I'm currently using Unity 2019.4.15f1 and Visual Studio Code 1.51.1 as a code editor in Windows 8.1, and recently I had the error "Error: The reference assemblies for .NETFramework, Version = v4.7.1 were not found. Bla bla bla".

    I know that to solve this I have to install the SDK/Targeting Pack that they mention there, but is there a way to not have to install it and be able to only use Mono (like in GNU/Linux distributions) for the Intellisense/code completion? How can I configure it in the editor?

    I already have installed DotNET Core SDK x64, DotNET Core Runtime and Mono for Windows (x64).