OmniSharp.MSBuild.ProjectManager Attempted to update project that is not loaded:

前端 未结 9 1592
离开以前
离开以前 2021-02-02 11:09

I started to develop Asp.net Core web API with the VS code. But when I typing the code Intellisense/Suggestions not working properly. I saw in some resource on the internet whil

相关标签:
9条回答
  • 2021-02-02 12:04

    Solved: Check if Visual Studio Build Packages is installed, if so uninstall it. As soon as uninstall VScode will work fine and intellisense feature will be back. Good luck!

    0 讨论(0)
  • 2021-02-02 12:06

    Another reason this might fail, is when you have Visual Studio 2019 16.7 or below installed, as OmniSharp reqiures MsBuild from 16.8.

    Updating Visual Studio using the Visual Studio installer resolved that issue for me, while I was using a replacement machine, that lay dormant for a while now.

    0 讨论(0)
  • 2021-02-02 12:08

    I was also facing the same issue. If none of the above solutions worked then you can try the one below.

    While going through the logs, I realized the real problem: "The SDK 'Microsoft.NET.Sdk' specified could not be found."

    I installed latest stable Mono from here (6.8.0): https://www.mono-project.com/download/stable/

    Then opened ~bash_profile and exported framework path of mono: export FrameworkPathOverride=/Library/Frameworks/Mono.framework/Versions/Current

    Works fine for me. Hope it works for you too.

    0 讨论(0)
提交回复
热议问题