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

前端 未结 9 1591
离开以前
离开以前 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 11:44

    I solved this by upgrading my Mono project version https://www.mono-project.com/

    0 讨论(0)
  • 2021-02-02 11:47

    This started happening after the latest Windows10 update.

    Re-installed .NET Core Runtime and everything's fine now.

    0 讨论(0)
  • 2021-02-02 11:49

    To solve this I did several things. First of all, I downgrade OmniSharp version by installing their beta version. download the .vsix file for that release to my machine. Used 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. By clicking the ... at the top-right corner of the Extensions pane and select "Install from VSIX..." on the menu.
    3. Located the .vsix the file I downloaded and Opened it
    4. Then restart vs code

    But the problem still occurred, so then I downgraded the .Net core SDK v2.2.202 version to 2.1.202 and the problem is solved.

    0 讨论(0)
  • 2021-02-02 11:56

    Solved (cross checked on Ubuntu 16.04 and CentOS 7):

    In the VS Code menu, go into File / Preferences / Settings.

    In the "Search settings" window, type omnisharp.path

    Click on "Edit in settings.json" link.

    Add (or edit) like this: "omnisharp.path": "latest"

    (from: https://github.com/OmniSharp/omnisharp-vscode/issues/2965)

    0 讨论(0)
  • 2021-02-02 11:59

    I've had both VSCode and Visual Studio installed on my mac. Uninstalling Visual Studio with this official guide solved the issue.

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

    I solved this issue by doing the following on VSCode:

    1. Go to settings. (Code -> Preferences -> Settings on Mac)
    2. Search "omnisharp".
    3. Find the section "Omnisharp: Use Global Mono," and set it to "always."
    4. Find the section "Omnisharp: Path," and click "Edit in settings.json." Change "omnisharp.path" as "omnisharp.path": latest".
    5. Reload the window.
    0 讨论(0)
提交回复
热议问题