I'm trying to install
- Microsoft.Toolkit.Uwp.Notifications -Version 2.2.0
Nuget package for the following solution structure.
JSProj (universal App) - Targeting build 10586
contains js App which has CSProj reference and can call C# method
packages
- Microsoft.Toolkit.Uwp.Notifications.JavaScript
- Microsoft.NETCore.UniversalWindowsPlatform
CSProj (universal App) - Targeting build 10586
contains C# methods that can be performed.
packages
- Microsoft.NETCore.UniversalWindowsPlatform
For the JS project, Microsoft.Toolkit.Uwp.Notifications
fails to install by throwing error,
Could not install package 'Microsoft.NETCore.Jit 2.0.6'. You are trying to install this package into a project that targets 'UAP,Version=v10.0.10586', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.
But it works fine in CSProj
, but throws a runtime IOException
for the package, when I try to call the notification in C# method.
I tried downgrading package versions, and changing the Target build. But nothing seems to work.