Hi. I’m simply attempting to install the Windows SDK via NuGet in VS 2015 Update 2 on Windows 10. After I type Install-Package Particle.SDK at the NuGet prompt (or via the GUI), I get this message:
Attempting to gather dependency information for package ‘Particle.SDK.0.0.5’ with respect to project ‘ParticleTest’, targeting '.NETFramework,Version=v4.6’
Attempting to resolve dependencies for package ‘Particle.SDK.0.0.5’ with DependencyBehavior 'Lowest’
Resolving actions to install package 'Particle.SDK.0.0.5’
Resolved actions to install package 'Particle.SDK.0.0.5’
Install failed. Rolling back…
Package ‘Particle.SDK.0.0.5 : Newtonsoft.Json [8.0.3, )’ does not exist in project 'ParticleTest’
Package ‘Particle.SDK.0.0.5 : Newtonsoft.Json [8.0.3, )’ does not exist in folder 'C:\Users\Josh\Documents\Visual Studio 2015\Projects\ParticleTest\packages’
Could not install package ‘Particle.SDK 0.0.5’. You are trying to install this package into a project that targets ‘.NETFramework,Version=v4.6’, 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.
========== Finished ==========
The Newtonsoft.Json package is indeed installed in the project.
I created a C# web forms application… seems like it should at least install!
Hey, sorry for the troubles. What type of project are you building? Currently the SDK only supports WinRT apps (Windows Store). We’re working on a standard .NET library and will be out this week.
Thanks Justin, I saw that! I have successfully installed it in my ASP.Net application… no time yet to play around, but will do so as soon as I can. Thanks for your hard work!