Has anyone successfully built xamarin ios project on AzureDevOps using multi targeting libraries with TargetFrameworks netstandard2.1 & net8.0

Vinayak Nikam 71 Reputation points
2025-01-16T23:58:22.54+00:00

We migrated our Xamarin.Forms project to .NET MAUI (.net 8.0). We are still supporting our Xamarin.Forms project. The common organization level libraries now target multiple frameworks netstandard2.1;net8.0. .NET MAUI pipelines are working good. xamarin android pipeline is also working; however xamarin ios pipeline build task fails with error NETSDK1005: Assets file 'project.assets.json' doesn't have a target for '.NETFramework,Version=v8.0'. Ensure that restore has run and that you have included 'net80' in the TargetFrameworks for your project.

Has anyone successfully built xamarin ios project on AzureDevOps using multi targeting libraries?

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,375 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,083 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.