VS 2012 Express - Nuget Installation

Oystein Bjorke 5 years ago 0
This discussion was imported from CodePlex

tesner wrote at 2013-02-06 11:29:

Hi everyone,

Has anyone got the OxyPlot.Wpf working on VS 2012 Express? I get the following error when trying to install the nuget package:
Error: Could not install package: 'OxyPlot.Core 2013.1.28.1'. You are trying to install this package into a project that targets '.NETFramework, Version=v4.0', but the package does not contain any assembly references that are compatible with taht framework. For more information, contact the package author.
This also happens with .NET 4.5 target. I've tried manually referencing the assemblies. The design time fails to render the Plot control, and indicates that the oxyplot assembly cannot be found, but it works in runtime.


tibel wrote at 2013-02-06 16:12:

You are probably using an old version of NuGet.
OxyPlot.Core is a Portable library project and you need at least NuGet 2.1 for it to work.

tesner wrote at 2013-02-08 08:33:

Hi tibel,
Thanks! Installing the latest NuGet did the trick.