NuGet for WinForms

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

ta wrote at 2012-03-30 13:46:

Hi,

I was wondering if there are plans to add nuget packages for winforms at some point? It would be very much appreciated.


objo wrote at 2012-03-30 14:58:

Yes, I will add a nuget package for winforms.

I would also like to create a comparison of performance on WPF, Silverlight and Winforms (I guess the Winforms implementation will do quite well!)


objo wrote at 2012-04-03 10:03:

I have added the nuget package - see http://nuget.org/packages/OxyPlot.WindowsForms.

Ps. There is a bug when  using the toolbox to add a Plot control to a form, something is wrong with the Model assignment - will solve this later (http://oxyplot.codeplex.com/workitem/9952).


ta wrote at 2012-04-10 10:01:

Thank you so much. I am now using the nuget package.

The only small hick up was that IAxis and ISeries does not seem to be available in the dll from nuget. (maybe they are no longer used? - I did not check the source) I just replaced them with the usage of the interfaces with var's and now it works perfectly.


objo wrote at 2012-04-10 22:51:

Yes, the interfaces (IAxis, ISeries and IAnnotation) were removed. Change to use the Axis, Series and Annotation base classes.

CodePlex