Error: Unable to find Mono. Ensure that Mono's '/bin' folder is added to your environment's PATH variable (on MacOS)

Viewed 3154

I set (Omnisharp: Use Global Mono) to "always." and I typed the latest in ("omnisharp.path":) "latest" but I'm facing this error

[ERROR] Error: Unable to find Mono. Ensure that Mono's '/bin' folder is added to your environment's PATH variable.

1 Answers

Open a terminal and check if path is added with

echo $PATH

if the path to Mono bin Folder is missing add it with (replace [PATH to the mono bin Folder] with your path), normally the path is /Library/Frameworks/Mono.framework/Versions/Current/bin:

export PATH=$PATH:[PATH to the mono bin Folder]
Related