Error Tips &Processing Methods
Reference Link: https://github.com/OmniSharp/omnisharp-vscode/issues/1742
Error: the. NET Core Debugger cannot be installed. The debugger requires MacOS 10.12 (Sierra) or newer
Method: You can set the option to disable Auto extension updates in VS Code, and then manually install V1.11.0from the. vsix fi Le using these instructions. Though The one problem with this is so you'll also miss out on new language service features. Certainly a great option if you can ' t upgrade your OS yet, but it's a point-in-time problem.
Detailed steps:
Reference Link: https://github.com/OmniSharp/omnisharp-vscode/wiki/Installing-Beta-Releases
Installation Download: https://github.com/OmniSharp/omnisharp-vscode/releases/tag/v1.11.0
A new release of the C # extension is generally shipped every month or so. During Development, Interim (temporary) Beta releases is made available as Vsixs Here:https://github.com/omnisharp/omnisharp-vs Code/releases. If you wish to install a beta release, please follow these steps:
Uninstalling a previously-installed C # extension
When installing a beta release, it's a good idea-to-remove any previous versions of the extension. You can do this like so:
Open Visual Studio Code and select View->extensions from the menu to display the Extensions pane.
In the Extensions pane, locate the C # extension and click the little ' gear ' icon next to it. From the Drop-down menu, select ' Uninstall '.
Visual Studio Code would ask if you are sure this want to uninstall the extension. Click "OK" on the this prompt.
In the Extensions pane, a button would appear next to the C # extension that reads, "Reload". Click this to cause Visual Studio Code to reload without the C # extension installed. Visual Studio Code would ask you whether your certain whether you wish to reload. Click "OK" to confirm.
Installing a beta release of the C # extension
First, find the release that you wish to install at https://github.com/OmniSharp/omnisharp-vscode/releases (Https://githu b.com/omnisharp/omnisharp-vscode/releases/tag/v1.11.0) Then, download the .vsix
file for this release to your machine. Use the following steps-to-install the into .vsix
Visual Studio Code.
Open Visual Studio Code and select View->extensions from the menu to display the Extensions pane.
Click ...
the at the top-right corner of the Extensions pane and select "Install from VSIX ..." On the menu that appears.
Locate .vsix
The file you download and click "Open".
Visual Studio Code would prompt you-restart to enable the extension. Click "Restart" to confirm.
Tips
After reinstalling the C # extension, vs code updates C # dependencies
Updating C # Dependencies ... Platform:darwin, x86_64
Downloading package ' Mono Runtime (MacOS) ' (1718 KB) .......... done! Downloading package ' Mono Framework assemblies ' (5892 KB) ........... done! Downloading package ' Omnisharp (Mono 4.6) ' (12219 KB) .......... done! Downloading package '. NET Core Debugger (macos/x64) ' (46460 KB) ....... ..... done!
Installing package ' mono-Runtime (MacOS) ' Installing package ' mono-Framework assemblies ' installing package ' omnisharp (Mon o 4.6) ' installing package '. NET Core Debugger (macos/x64) '
Finished
[. NET core 32] After upgrading vs code, VS code cannot debug the NET Core Web project