Omnisharp-vscode: The SDK 'Microsoft.NET.Sdk.Web' specified could not be found.

Created on 14 Aug 2020  路  2Comments  路  Source: OmniSharp/omnisharp-vscode

Hi,

I am using Ubuntu 18.04. After a recent update of Visual Studio Code I get: "The SDK 'Microsoft.NET.Sdk.Web' specified could not be found.". How can I resolve this problem, as it prevents Omnisharp from loading the project file correctly.

Most helpful comment

I see the problem was resolved in the latest update. Many thanks to the OmniSharrp team!

All 2 comments

I had the same issue, it seems that there is an update to omnisharp that this extension haven't yet publish or using. As a workaround I had to configure omnisharp to use the legacy SDK resolver. There should be a hidden folder on your HOME folder; named ".omnisharp", inside create or modify a file named omnisharp.json and include the following:

{
"MSBuild": {
"UseLegacySdkResolver": true
}
}

This worked for me in the meantime the extension is updated to use the latest omnisharp.

I see the problem was resolved in the latest update. Many thanks to the OmniSharrp team!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

tstivers1990 picture tstivers1990  路  3Comments

ZeldaZocker picture ZeldaZocker  路  3Comments

olfek picture olfek  路  3Comments

hamhub7 picture hamhub7  路  3Comments

Alumniminium picture Alumniminium  路  3Comments