novotnyllc / MSBuildSdkExtras

Extra properties for MSBuild SDK projects
MIT License
345 stars 43 forks source link

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

Closed aarcoraci closed 2 years ago

aarcoraci commented 2 years ago

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 !

aarcoraci commented 2 years ago

This seems to be a VS issue: https://developercommunity.visualstudio.com/t/SDK-not-found-MSBuildSdkExtras/1648593?from=email&space=41&q=sdk+not+found

Hopefully will be addressed soon.

aarcoraci commented 2 years ago

VS team is looking into this