Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 89864

Xam.Plugin.PushNotification with UWP

$
0
0

Have been using the Xam.Plugin.PushNotification package successfully with our project. So far we have only used the Android build but now i need to get the windows and iOS build going as well.

When i tried the windows build i am having issues adding the nuget package to the UWP project

if i add the package it tells me it will install

Newtonsoft.Json.8.0.3
Xam.Plugin.PushNotification.1.2.4

click ok and it says

Successfully installed 'Newtonsoft.Json 8.0.3' to MyApp.UWP
Successfully installed 'Xam.Plugin.PushNotification 1.2.4' to MyApp.UWP

i can build and deploy but when running i get the following error

"Could not load file or assembly 'Newtonsoft.Json, Version=10.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed'. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)"

My Portable project has Newtonsoft.Json 10.0.0.2 installed

when i check the nuget packages installed in the UWP project it does not show Newtonsoft.Json at all

if i try to install 10.0.0.2 into the UWP project i get the following error

Severity Code Description Project File Line Suppression State
Error Package restore failed. Rolling back package changes for 'MyApp.UWP'. 0

if i try to install 9.0.1 it says updating 8.0.3 to 9.0.01 and it seems successful but same error running

if i try to update to 10.0.0.2 it fails again

any ideas?


Viewing all articles
Browse latest Browse all 89864

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>