novotnyllc / MSBuildSdkExtras

Extra properties for MSBuild SDK projects

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

VS2022 Preview 5 Mac - unable to find the SDK (SDK not found error)

aarcoraci opened this issue · comments

Hello,
today I updated VS2022 (17 preview 5) on an Apple macbook pro with M1 processor and I started to get this error. To be honest I completely removed my old version of VS and installed from scratch.

The error I'm getting is:
Unable to find SDK 'MSBuild.Sdk.Extras'
SDK not found

The solution has 4 projects one of them being the one using the Extras. I have created the global.json inside this project directory but no luck.

contents of global.json:

{
  "sdk": {
    "version": "6.0.101"
  },
  "msbuild-sdks": {
    "MSBuild.Sdk.Extras": "3.0.44"
  }
}

Here is the details of the target framework configuration and project file:

<Project Sdk="MSBuild.Sdk.Extras">

  <PropertyGroup>
    <TargetFrameworks>netstandard2.1;xamarin.ios10;monoandroid90;monoandroid10.0</TargetFrameworks>
...

Thanks a lot in advance !

VS team is looking into this