[. NET core 32] After upgrading vs code, VS code cannot debug the NET Core Web project

Source: Internet
Author: User

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:

    1. Open Visual Studio Code and select View->extensions from the menu to display the Extensions pane.

    2. In the Extensions pane, locate the C # extension and click the little ' gear ' icon next to it. From the Drop-down menu, select ' Uninstall '.

    3. Visual Studio Code would ask if you are sure this want to uninstall the extension. Click "OK" on the this prompt.

    4. 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.

    1. Open Visual Studio Code and select View->extensions from the menu to display the Extensions pane.

    2. Click ... the at the top-right corner of the Extensions pane and select "Install from VSIX ..." On the menu that appears.

    3. Locate .vsix The file you download and click "Open".

    4. 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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.