Xamarin SDK not found

Hi all,

I'm hoping someone can give me some clues re Xamarin project. I've looked at some threads and doco but feel like I'm going around in circles.

After starting a new project from the Xamarin Template, I end up at screenshot 1.

I have Visual Studio 2022 installed, so I then go and check that as per the "use Visual Studio installer instead" advice.

There though, I see that Visual Studio believes everything is installed - screenshot 2.

I've also tested in Visual Studio creating a Xamarin project and can build and compile to the Android emulator, and everything works fine.

What's the missing link to get it to work in Rider?

0
7 comments

Also noted the message about selecting a different MSBuild version. I've attempted to switch back and forth between 16 and 17 - but end up going around in circles there too. I have .NET SDK 6 and 7 installed. If I leave it on the auto-detected setting, I get this error (below screenshot). If I switch it to 17.0, I get the errors in the original screenshots.

0

Hello,

After you switch the MSBuild version, please try deleting bin/ and obj/ folders from your solution folder, reload the solution and restore NuGet packages once again. Will you observe the same result?

If it does not make a difference, please upload Rider logs collected after opening the problematic solution.

0

I think I'll give up - have spent way too much time on this. I'll stick with Rider for Unity work only, and do the Xamarin project is VS.

0
Hello,

Please accept our apologies for the inconvenience. Use this thread or submit a new support ticket if you need any further assistance with this.
0

Any fix for this?

0

Does Rider actually support Linux? I've emailed about this issue (twice last week) and posted on this form about it at length and nothing. As claiming to be a multiplatform IDE without Xamarin support seems kinda silly in 2023 doesn't it?

0

Hello Xmichael99,

Rider does support Linux, however Xamarin.Android workload is not supported because SDK itself is not officially supported on Linux.

You can find more information about this issue in the legacy article about Xamarin.Android and in RIDER-5747.

0

Please sign in to leave a comment.