-
Notifications
You must be signed in to change notification settings - Fork 564
Closed
Labels
Area: App+Library BuildIssues when building Library projects or Application projects.Issues when building Library projects or Application projects.enhancementProposed change to current functionality.Proposed change to current functionality.
Milestone
Description
Android application type
.NET Android (net8.0-android, etc.)
Affected platform version
.NET 8
Description
.NET 8 is API 34, so 33 is invalid, but you get a poor error message:
Error NETSDK1181 Error getting pack version: Pack 'Microsoft.Android.Ref.33' was not present in workload manifests.
C:\Program Files\dotnet\sdk\8.0.100-preview.7.23376.3\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.FrameworkReferenceResolution.targets
https://discord.com/channels/732297728826277939/732297916680765551/1151549736269119549
It would be nice if we could emit a better message here, so see what the .NET SDK expects us to do.
Steps to Reproduce
dotnet new android- Put 33.0 on the
TargetFramework
Did you find any workaround?
Remove 33.0
Relevant log output
No response
tipa, CarlosAdrianM, echolumaque, aqua-ix, milanio and 1 more
Metadata
Metadata
Assignees
Labels
Area: App+Library BuildIssues when building Library projects or Application projects.Issues when building Library projects or Application projects.enhancementProposed change to current functionality.Proposed change to current functionality.