错误提示&处理方法

参考链接:https://github.com/OmniSharp/omnisharp-vscode/issues/1742

错误:The .NET Core debugger cannot be installed. The debugger requires macOS 10.12 (Sierra) or newer

方法:You can set the option to disable auto extension updates in VS Code, and then manually install v1.11.0from the .vsix file using these instructions. Though the one problem with this is that you will also miss out on new language service features. But this is certainly a great option if you can't upgrade your OS yet, but it is a point-in-time problem.

详细步骤:

参考链接:https://github.com/OmniSharp/omnisharp-vscode/wiki/Installing-Beta-Releases

安装下载: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(临时) beta releases are made available as VSIXs here: https://github.com/OmniSharp/omnisharp-vscode/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 will ask if you are sure that you want to uninstall the extension. Click "OK" on this prompt.

  4. In the Extensions pane, a button will 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 will ask you whether you are 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://github.com/OmniSharp/omnisharp-vscode/releases/tag/v1.11.0) Then, download the .vsix file for that release to your machine. Use the following steps to install the .vsix into 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 the .vsix file you download and click "Open".

  4. Visual Studio Code will prompt you to restart to enable the extension. Click "Restart" to confirm.

提示

重新安装C#扩展之后,vs code会更新C#依赖

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 (Mono 4.6)'
Installing package '.NET Core Debugger (macOS / x64)'
Finished

[.NET Core 32]升级vs code之后,vs code无法调试net core web项目的更多相关文章

  1. 将 ASP.NET Core 2.1 升级到最新的长期支持版本ASP.NET Core 3.1

    目录 前言 Microsoft.AspNetCore.Mvc.ViewFeatures.Internal 消失了 升级到 ASP.NET Core 3.1 项目文件(.csproj) Program. ...

  2. .Net Core 2.1 升级3.1 问题整理

    随着技术的不断拓展更新,我们所使用的技术也在不断地升级优化,项目的框架也在不断地升级,本次讲解 .net core 2.1  升级到3.1所需要注意的事项: 当项目框架升级后,所有的Nuget引用也会 ...

  3. 使用VS Code从零开始开发调试.NET Core 1.0

    使用VS Code 从零开始开发调试.NET Core 1.0. .NET Core 是一个开源的.跨平台的 .NET 实现. VS Code 全称是 Visual Studio Code,Visua ...

  4. 在Mac上使用Visual Studio Code开发/调试.NET Core代码

    .Net Core 1.0终于发布了,Core的一大卖点就是跨平台.这个跨平台不只是跨平台运行,而且可以跨平台开发.今天抽空研究了下在Mac下如何使用VS Code来开发.NET Core程序,并且调 ...

  5. 使用VS Code开发调试.NET Core 多项目

    使用Visual Studio Code(VS Code)开发调试.NET Core和ASP.NET Core 多项目multiple project. 之前讲解过如果使用Visual Studio ...

  6. 使用VS Code开发 调试.NET Core 应用程序

    使用VS Code开发 调试.NET Core RC2应用程序,由于.NET Core 目前还处于预览版. 本文使用微软提供的示例进行开发及调试. https://github.com/aspnet/ ...

  7. 使用VS Code 从零开始开发并调试.NET Core 应用程序

    最新文章:http://www.cnblogs.com/linezero/p/VSCodeNETCore.html 使用VS Code 从零开始开发并调试.NET Core 应用程序,C#调试. 上一 ...

  8. 解决VS Code调试.NET Core应用遇到的坑

    为什么会有”坑“ 博客园里有好多介绍怎么使用VS Code以及调试.NET Core的文章,但是都是基于直接构建Asp.Net Core Mvc单项目的,有什么区别呢! (1).我们这次遇到的坑是在多 ...

  9. [saiku] 源码整合[普通WEB项目]

    saiku源码的整合分为[普通web项目整合]和[maven整合]两种 本节主要是讲解如何整合为普通的web项目 转载自:http://blog.csdn.net/gsying1474/article ...

随机推荐

  1. adapter-自定义adapter的典型写法

    文章参考 http://www.cnblogs.com/mengdd/p/3254323.html import android.content.Context; import android.vie ...

  2. java list 容器的ConcurrentModificationException

    java中的很多容器在遍历的同时进行修改里面的元素都会ConcurrentModificationException,包括多线程情况和单线程的情况.多线程的情况就用说了,单线程出现这个异常一般是遍历( ...

  3. Spring MVC handler interceptors example--转载

    原文地址:http://www.mkyong.com/spring-mvc/spring-mvc-handler-interceptors-example/ Spring MVC allow you ...

  4. web.config访问走代理的配置

    <system.net>    <defaultProxy>      <proxy bypassonlocal="False" usesystemd ...

  5. 关于python中矩阵的实现和矩阵的转置

    python中矩阵的实现是靠序列,,, 序列有很多形式, 其实矩阵是现实生活中的东西,把现实生活中的结构转换到程序中. 就需要有个实现的方法,而这种路径是多种多样的. 下面给出一个把矩阵转换成pyth ...

  6. set_fix_multiple_port_nets

    set_fix_multiple_port_nets   -all    -buffer_constants 加上这个命令之后 综合之后的网表就不会出现assign语句 否则会出现

  7. 算法-对分查找(二分查找)C++实现

    这个是个主要的查找算法.由于仅仅是把数读入就须要(N)的时间量,因此我们在说这类问题的时候都是如果读入过的. 在算法经常使用的时间.将问题缩小为一部分(大约1/2),那么我们就觉得这个算法是O(log ...

  8. Android 调用系统邮件,发送邮件到指定邮箱

    在项目中,最后有一个联络我们,要求是点击号码还有邮箱地址能够发送邮件,这时候解决的方案其实有两种,一种是调用系统发邮件的软件,可以添加邮箱账号就可以发送邮件:第二种是使用javamail来发送邮件.在 ...

  9. Python 爬虫从入门到进阶之路(五)

    在之前的文章中我们带入了 opener 方法,接下来我们看一下 opener 应用中的 ProxyHandler 处理器(代理设置). 使用代理IP,这是爬虫/反爬虫的第二大招,通常也是最好用的. 很 ...

  10. C#实现人脸识别

    C#实现基于ffmpeg加虹软的人脸识别 关于人脸识别 目前的人脸识别已经相对成熟,有各种收费免费的商业方案和开源方案,其中OpenCV很早就支持了人脸识别,在我选择人脸识别开发库时,也横向对比了三种 ...