Android framework version
net11.0-android (Preview)
Affected platform version
VS 18.8.0, .NET SDK 11.0.100-preview.6.26359.118, android workload 37.0.0-preview.6.59
Description
I have this specified in my csproj (for Release):
<RuntimeIdentifiers>android-arm;android-arm64;android-x86;android-x64</RuntimeIdentifiers>
With this set, the build fails with:
C:\Program Files\dotnet\sdk\11.0.100-preview.6.26359.118\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(121,5): error NETSDK1181: Error getting pack version: Pack 'Microsoft.Android.Runtime.CoreCLR.37.android-arm' was not present in workload manifests.
C:\Program Files\dotnet\sdk\11.0.100-preview.6.26359.118\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(121,5): error NETSDK1181: Error getting pack version: Pack 'Microsoft.Android.Runtime.CoreCLR.37.android-x86' was not present in workload manifests.
Restore failed with 2 error(s) in 1.5s
Previous versions of the SDK did not target these runtimes by default, but did work if they were targeted explicitly.
Steps to Reproduce
dotnet new android
- Add
<RuntimeIdentifiers>android-arm;android-arm64;android-x86;android-x64</RuntimeIdentifiers> to the csproj.
dotnet build
Or clone and build a Release configuration from my actual project: https://github.com/StephenClearyApps/PewBible/tree/net11
Did you find any workaround?
No response
Relevant log output
Android framework version
net11.0-android (Preview)
Affected platform version
VS 18.8.0, .NET SDK 11.0.100-preview.6.26359.118, android workload 37.0.0-preview.6.59
Description
I have this specified in my csproj (for Release):
With this set, the build fails with:
Previous versions of the SDK did not target these runtimes by default, but did work if they were targeted explicitly.
Steps to Reproduce
dotnet new android<RuntimeIdentifiers>android-arm;android-arm64;android-x86;android-x64</RuntimeIdentifiers>to the csproj.dotnet buildOr clone and build a
Releaseconfiguration from my actual project: https://github.com/StephenClearyApps/PewBible/tree/net11Did you find any workaround?
No response
Relevant log output