I have updated the NuGet packages Microsoft.Maui.Controls, Microsoft.Maui.Controls.Compatibility and Microsoft.Maui.Essentials from version 8.0.61 to 8.0.70. Then I got the following error when I tried to build my iOS project:
Error MSB4019 The imported project "C:\Program Files\dotnet\packs\Aspire.Hosting.Sdk\8.0.2\Sdk\AutoImport.props" was not found. Confirm that the expression in the Import declaration "C:\Program Files\dotnet\packs\Aspire.Hosting.Sdk\8.0.2\Sdk\AutoImport.props" is correct, and that the file exists on disk. IOSTest C:\Program Files\dotnet\sdk\8.0.303\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.ImportWorkloads.props
Why am I getting this error?
Then I removed my project´s bin and obj folder and opened it again in Visual Studio Community 2022 (64-bit) Version 17.10.4. Then I saw that the NuGet packages automatically switched from version 8.0.61 to 8.0.70.
Why can I not use version 8.0.70 in my iOS project?