I am new to background task in windows store app.
I need to use the same library (Newtonsoft.json) in both foreground app and in my windows runtime component (background task).
Please how can I achieve this?
I installed it with nuget but I can use it only in my foreground app.
I have VS 2013 Express for Windows
1-You can install package to all projects in solution using this script inside Package Manager Console
Get-Project -All | Install-Package Newtonsoft.Json
2-You can change the default project in Package Manager, change it to the background project.
then install your package
Install-Package Newtonsoft.Json
3-You can also check this answer to a similar question
Tools > Library Package Manager > Manage NuGet Packages for Solution... Link