We just started using Unity and are using Visual Studio Code for code editing in Unity.
Every time we open Visual Studio Code we get the following error message:
“The .NET CLI tools cannot be located. .NET Core debugging will not be enabled. Make sure .NET CLI tools are installed and are on the path.”
How can we disable this error message in Visual Studio Code?
(we don’t want to install .NET CLI tools)
Been seeing this from another user on slack… it’s a weird issue and not even sure why it’s looking for the CLI tools. It appears to happen when opening the IDE FROM Unity (on a *nix system, including Mac). It affects not just VS Code but also Rider… however, running a dotnet --help in Rider will display the help settings so the CLI is being found just fine.
The solution seemed to be to use Rider instead of VS Code and open the solution directly from Rider. Using the above mentioned method also suppresses the warnings but seems to break Intellisense.