Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating NuGet Package from 4.5.2 to Version 4.5.3 I get a lot of errors #45

Closed
mnottbohm opened this issue Oct 25, 2024 · 4 comments
Closed
Assignees
Labels
bug Something isn't working

Comments

@mnottbohm
Copy link

Hallo,

I upgraded from 4.5.0 to 4.5.2 with no issues. Upgrading from 4.5.2 to 4.5.3 I get the errors below. I tried before upgrading to Vers, 4.5.2, to Upgrade directly from 4.5.0 to 4.5.3 with same errors. I'm on Visual Studio 17.11.5

Severity Code Description Suppression State Details
Error NU1100 Unable to resolve 'Xamarin.AndroidX.Lifecycle.ViewModel.Android (>= 2.8.6)' for 'net8.0-android34.0/android-x64'. PackageSourceMapping is enabled, the following source(s) were not considered: C:\Program Files\dotnet\library-packs, Microsoft Visual Studio Offline Packages, nuget.org.
Error NU1100 Unable to resolve 'Xamarin.AndroidX.Lifecycle.ViewModel.Android (>= 2.8.6)' for 'net8.0-android34.0/android-x86'. PackageSourceMapping is enabled, the following source(s) were not considered: C:\Program Files\dotnet\library-packs, Microsoft Visual Studio Offline Packages, nuget.org.
Error NU1100 Unable to resolve 'Xamarin.AndroidX.Lifecycle.Runtime.Android (>= 2.8.6)' for 'net8.0-android34.0'. PackageSourceMapping is enabled, the following source(s) were not considered: C:\Program Files\dotnet\library-packs, Microsoft Visual Studio Offline Packages, nuget.org.
Error NU1100 Unable to resolve 'Xamarin.AndroidX.Lifecycle.Common.Jvm (>= 2.8.6)' for 'net8.0-android34.0/win10-arm64'. PackageSourceMapping is enabled, the following source(s) were not considered: C:\Program Files\dotnet\library-packs, Microsoft Visual Studio Offline Packages, nuget.org.
Error NU1100 Unable to resolve 'Xamarin.AndroidX.Lifecycle.ViewModel.Android (>= 2.8.6)' for 'net8.0-android34.0/maccatalyst-arm64'. PackageSourceMapping is enabled, the following source(s) were not considered: C:\Program Files\dotnet\library-packs, Microsoft Visual Studio Offline Packages, nuget.org.
Error NU1100 Unable to resolve 'Xamarin.AndroidX.Lifecycle.Common.Jvm (>= 2.8.6)' for 'net8.0-android34.0/android-arm'. PackageSourceMapping is enabled, the following source(s) were not considered: C:\Program Files\dotnet\library-packs, Microsoft Visual Studio Offline Packages, nuget.org.
Error NU1100 Unable to resolve 'Xamarin.AndroidX.Lifecycle.Runtime.Ktx.Android (>= 2.8.5.1)' for 'net8.0-android34.0'. PackageSourceMapping is enabled, the following source(s) were not considered: C:\Program Files\dotnet\library-packs, Microsoft Visual Studio Offline Packages, nuget.org.
Error NU1100 Unable to resolve 'Xamarin.AndroidX.Lifecycle.Runtime.Android (>= 2.8.6)' for 'net8.0-android34.0/maccatalyst-arm64'. PackageSourceMapping is enabled, the following source(s) were not considered: C:\Program Files\dotnet\library-packs, Microsoft Visual Studio Offline Packages, nuget.org.
Error NU1100 Unable to resolve 'Xamarin.AndroidX.Lifecycle.Runtime.Ktx.Android (>= 2.8.5.1)' for 'net8.0-android34.0/android-x64'. PackageSourceMapping is enabled, the following source(s) were not considered: C:\Program Files\dotnet\library-packs, Microsoft Visual Studio Offline Packages, nuget.org.
Error NU1100 Unable to resolve 'Xamarin.KotlinX.AtomicFU (>= 0.25.0.3)' for 'net8.0-android34.0'. PackageSourceMapping is enabled, the following source(s) were not considered: C:\Program Files\dotnet\library-packs, Microsoft Visual Studio Offline Packages, nuget.org.
Error NU1100 Unable to resolve 'Xamarin.AndroidX.Lifecycle.Runtime.Android (>= 2.8.6)' for 'net8.0-android34.0/win10-arm64'. PackageSourceMapping is enabled, the following source(s) were not considered: C:\Program Files\dotnet\library-packs, Microsoft Visual Studio Offline Packages, nuget.org.
Error NU1100 Unable to resolve 'Xamarin.AndroidX.Lifecycle.Runtime.Android (>= 2.8.6)' for 'net8.0-android34.0/android-x86'. PackageSourceMapping is enabled, the following source(s) were not considered: C:\Program Files\dotnet\library-packs, Microsoft Visual Studio Offline Packages, nuget.org.
Error NU1100 Unable to resolve 'Xamarin.AndroidX.Lifecycle.Runtime.Ktx.Android (>= 2.8.5.1)' for 'net8.0-android34.0/android-x86'. PackageSourceMapping is enabled, the following source(s) were not considered: C:\Program Files\dotnet\library-packs, Microsoft Visual Studio Offline Packages, nuget.org.
Error NU1100 Unable to resolve 'Xamarin.AndroidX.Lifecycle.ViewModel.Android (>= 2.8.6)' for 'net8.0-android34.0'. PackageSourceMapping is enabled, the following source(s) were not considered: C:\Program Files\dotnet\library-packs, Microsoft Visual Studio Offline Packages, nuget.org.
Error NU1100 Unable to resolve 'Xamarin.KotlinX.AtomicFU (>= 0.25.0.3)' for 'net8.0-android34.0/maccatalyst-arm64'. PackageSourceMapping is enabled, the following source(s) were not considered: C:\Program Files\dotnet\library-packs, Microsoft Visual Studio Offline Packages, nuget.org.
Error NU1100 Unable to resolve 'Xamarin.KotlinX.AtomicFU (>= 0.25.0.3)' for 'net8.0-android34.0/android-arm64'. PackageSourceMapping is enabled, the following source(s) were not considered: C:\Program Files\dotnet\library-packs, Microsoft Visual Studio Offline Packages, nuget.org.
Error NU1100 Unable to resolve 'Xamarin.AndroidX.Lifecycle.Runtime.Android (>= 2.8.6)' for 'net8.0-android34.0/android-x64'. PackageSourceMapping is enabled, the following source(s) were not considered: C:\Program Files\dotnet\library-packs, Microsoft Visual Studio Offline Packages, nuget.org.
Error NU1100 Unable to resolve 'Xamarin.AndroidX.Lifecycle.Runtime.Android (>= 2.8.6)' for 'net8.0-android34.0/android-arm'. PackageSourceMapping is enabled, the following source(s) were not considered: C:\Program Files\dotnet\library-packs, Microsoft Visual Studio Offline Packages, nuget.org.
Error NU1100 Unable to resolve 'Xamarin.AndroidX.Lifecycle.Runtime.Ktx.Android (>= 2.8.5.1)' for 'net8.0-android34.0/android-arm64'. PackageSourceMapping is enabled, the following source(s) were not considered: C:\Program Files\dotnet\library-packs, Microsoft Visual Studio Offline Packages, nuget.org.
Error NU1100 Unable to resolve 'Xamarin.AndroidX.Lifecycle.Runtime.Android (>= 2.8.6)' for 'net8.0-android34.0/android-arm64'. PackageSourceMapping is enabled, the following source(s) were not considered: C:\Program Files\dotnet\library-packs, Microsoft Visual Studio Offline Packages, nuget.org.
Error NU1100 Unable to resolve 'Xamarin.AndroidX.Lifecycle.Common.Jvm (>= 2.8.6)' for 'net8.0-android34.0/ios-arm64'. PackageSourceMapping is enabled, the following source(s) were not considered: C:\Program Files\dotnet\library-packs, Microsoft Visual Studio Offline Packages, nuget.org.
Error NU1100 Unable to resolve 'Xamarin.KotlinX.AtomicFU (>= 0.25.0.3)' for 'net8.0-android34.0/android-arm'. PackageSourceMapping is enabled, the following source(s) were not considered: C:\Program Files\dotnet\library-packs, Microsoft Visual Studio Offline Packages, nuget.org.
Error NU1100 Unable to resolve 'Xamarin.AndroidX.Lifecycle.Runtime.Ktx.Android (>= 2.8.5.1)' for 'net8.0-android34.0/win10-arm64'. PackageSourceMapping is enabled, the following source(s) were not considered: C:\Program Files\dotnet\library-packs, Microsoft Visual Studio Offline Packages, nuget.org.
Error NU1100 Unable to resolve 'Xamarin.AndroidX.Lifecycle.ViewModel.Android (>= 2.8.6)' for 'net8.0-android34.0/android-arm64'. PackageSourceMapping is enabled, the following source(s) were not considered: C:\Program Files\dotnet\library-packs, Microsoft Visual Studio Offline Packages, nuget.org.
Error NU1100 Unable to resolve 'Xamarin.AndroidX.Lifecycle.Runtime.Ktx.Android (>= 2.8.5.1)' for 'net8.0-android34.0/maccatalyst-arm64'. PackageSourceMapping is enabled, the following source(s) were not considered: C:\Program Files\dotnet\library-packs, Microsoft Visual Studio Offline Packages, nuget.org.
Error NU1100 Unable to resolve 'Xamarin.AndroidX.Lifecycle.Common.Jvm (>= 2.8.6)' for 'net8.0-android34.0/android-x86'. PackageSourceMapping is enabled, the following source(s) were not considered: C:\Program Files\dotnet\library-packs, Microsoft Visual Studio Offline Packages, nuget.org.
Error NU1100 Unable to resolve 'Xamarin.AndroidX.Lifecycle.Common.Jvm (>= 2.8.6)' for 'net8.0-android34.0/android-arm64'. PackageSourceMapping is enabled, the following source(s) were not considered: C:\Program Files\dotnet\library-packs, Microsoft Visual Studio Offline Packages, nuget.org.
Error NU1100 Unable to resolve 'Xamarin.AndroidX.Lifecycle.ViewModel.Android (>= 2.8.6)' for 'net8.0-android34.0/android-arm'. PackageSourceMapping is enabled, the following source(s) were not considered: C:\Program Files\dotnet\library-packs, Microsoft Visual Studio Offline Packages, nuget.org.
Error NU1100 Unable to resolve 'Xamarin.AndroidX.Lifecycle.Common.Jvm (>= 2.8.6)' for 'net8.0-android34.0/android-x64'. PackageSourceMapping is enabled, the following source(s) were not considered: C:\Program Files\dotnet\library-packs, Microsoft Visual Studio Offline Packages, nuget.org.
Error NU1100 Unable to resolve 'Xamarin.AndroidX.Lifecycle.ViewModel.Android (>= 2.8.6)' for 'net8.0-android34.0/win10-arm64'. PackageSourceMapping is enabled, the following source(s) were not considered: C:\Program Files\dotnet\library-packs, Microsoft Visual Studio Offline Packages, nuget.org.
Error NU1100 Unable to resolve 'Xamarin.KotlinX.AtomicFU (>= 0.25.0.3)' for 'net8.0-android34.0/ios-arm64'. PackageSourceMapping is enabled, the following source(s) were not considered: C:\Program Files\dotnet\library-packs, Microsoft Visual Studio Offline Packages, nuget.org.
Error NU1100 Unable to resolve 'Xamarin.AndroidX.Lifecycle.ViewModel.Android (>= 2.8.6)' for 'net8.0-android34.0/ios-arm64'. PackageSourceMapping is enabled, the following source(s) were not considered: C:\Program Files\dotnet\library-packs, Microsoft Visual Studio Offline Packages, nuget.org.
Error NU1100 Unable to resolve 'Xamarin.AndroidX.Lifecycle.Runtime.Ktx.Android (>= 2.8.5.1)' for 'net8.0-android34.0/ios-arm64'. PackageSourceMapping is enabled, the following source(s) were not considered: C:\Program Files\dotnet\library-packs, Microsoft Visual Studio Offline Packages, nuget.org.
Error NU1100 Unable to resolve 'Xamarin.AndroidX.Lifecycle.Runtime.Ktx.Android (>= 2.8.5.1)' for 'net8.0-android34.0/android-arm'. PackageSourceMapping is enabled, the following source(s) were not considered: C:\Program Files\dotnet\library-packs, Microsoft Visual Studio Offline Packages, nuget.org.
Error NU1100 Unable to resolve 'Xamarin.KotlinX.AtomicFU (>= 0.25.0.3)' for 'net8.0-android34.0/win10-arm64'. PackageSourceMapping is enabled, the following source(s) were not considered: C:\Program Files\dotnet\library-packs, Microsoft Visual Studio Offline Packages, nuget.org.
Error NU1100 Unable to resolve 'Xamarin.AndroidX.Lifecycle.Runtime.Android (>= 2.8.6)' for 'net8.0-android34.0/ios-arm64'. PackageSourceMapping is enabled, the following source(s) were not considered: C:\Program Files\dotnet\library-packs, Microsoft Visual Studio Offline Packages, nuget.org.
Error NU1100 Unable to resolve 'Xamarin.AndroidX.Lifecycle.Common.Jvm (>= 2.8.6)' for 'net8.0-android34.0'. PackageSourceMapping is enabled, the following source(s) were not considered: C:\Program Files\dotnet\library-packs, Microsoft Visual Studio Offline Packages, nuget.org.
Error NU1100 Unable to resolve 'Xamarin.AndroidX.Lifecycle.Common.Jvm (>= 2.8.6)' for 'net8.0-android34.0/maccatalyst-arm64'. PackageSourceMapping is enabled, the following source(s) were not considered: C:\Program Files\dotnet\library-packs, Microsoft Visual Studio Offline Packages, nuget.org.
Error NU1100 Unable to resolve 'Xamarin.KotlinX.AtomicFU (>= 0.25.0.3)' for 'net8.0-android34.0/android-x64'. PackageSourceMapping is enabled, the following source(s) were not considered: C:\Program Files\dotnet\library-packs, Microsoft Visual Studio Offline Packages, nuget.org.
Error NU1100 Unable to resolve 'Xamarin.KotlinX.AtomicFU (>= 0.25.0.3)' for 'net8.0-android34.0/android-x86'. PackageSourceMapping is enabled, the following source(s) were not considered: C:\Program Files\dotnet\library-packs, Microsoft Visual Studio Offline Packages, nuget.org.

Thanks,
Markus

@Kebechet
Copy link
Owner

Hello, thanks for report.

  1. What version of VS do you use ?
  2. What version of .NET do you have ?
  3. What version of .NET MAUI you have installed ? (packages Microsoft.Maui.Controls and Microsoft.Maui.Controls.Compatibility)

Upgrade from v4.5.2 to v4.5.3 was just because of some incompatabilities with already existing packages(MAUI Admob). As a workaround it is okay to stay at v4.5.2 but if you want to resolve this please provide info above.

@Kebechet Kebechet self-assigned this Oct 25, 2024
@Kebechet Kebechet added the bug Something isn't working label Oct 25, 2024
@mnottbohm
Copy link
Author

What version of VS do you use ? MS 17.11.5
What version of .NET do you have ? 8.0.403
What version of .NET MAUI you have installed ? (packages
Microsoft.Maui.Controls 8.0.92
and Microsoft.Maui.Controls.Compatibility 8.0.92
)

@Kebechet
Copy link
Owner

Kebechet commented Dec 16, 2024

Hello @mnottbohm
please try v4.5.4 if the problem still persists. If yes please also test our demo app if you experience the same problem there

@Kebechet
Copy link
Owner

Kebechet commented Jan 3, 2025

no response, closing

@Kebechet Kebechet closed this as completed Jan 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants