I am currently trying to implement a Microsoft Login in my .NET MAUI app using this tutorial.
It runs using the debugger for Windows, but throws this error when I try to run it on an android emulator:
'There was no runtime pack for Microsoft.AspNetCore.App available for the specified RuntimeIdentifier 'android-x64'.'
It points to line 491 in 'Microsoft.NET.SdkFrameworkReferenceResolution.targets' which is the following code:
<ResolveRuntimePackAssets FrameworkReferences="@(FrameworkReference)"
ResolvedRuntimePacks="@(ResolvedRuntimePack)"
UnavailableRuntimePacks="@(UnavailableRuntimePack)"
SatelliteResourceLanguages="$(SatelliteResourceLanguages)"
DesignTimeBuild="$(DesignTimeBuild)"
DisableTransitiveFrameworkReferenceDownloads="$(DisableTransitiveFrameworkReferenceDownloads)">
<Output TaskParameter="RuntimePackAssets" ItemName="RuntimePackAsset" />
</ResolveRuntimePackAssets>
I have read somewhere that it could have something to do with some Azure NuGet package not supporting MAUI, but I already checked all dependencies and transative packages and the only package using Azure is Identity.Web (which is used in the tutorial).
Please tell me if you need more/other information!
Any help is appreciated!
Best regards,
Lukas