Winform Designer Problem

Aug 20, 2013 at 6:39 PM
I am a new user to OxyPlot and tried to create an WinForms example in VS2012 Professional. I followed the steps to add OxyPlot to the VS designer toolbox but I get the following error when I add OxyPlot.WindowForms.dll:

There are no components in 'xxx\OxyPlot.WindowsForms.dll' that can be placed on the toolbox.

John
Aug 22, 2013 at 12:54 PM
For me its the same. I'm using Oxyplot in VS 2012 Express and can't insert the plot control for Windows Forms. What should i do?

Dirk
Coordinator
Aug 22, 2013 at 8:25 PM
Make sure that you have the OxyPlot.dll assembly in the same assembly as the OxyPlot.WindowsForms.dll.

I will try to add OxyPlot.dll to the "OxyPlot WindowsForms" nuget package, but I am not sure if this is a good idea (the OxyPlot.dll assembly is already referenced by the OxyPlot Core nuget package)...
Aug 23, 2013 at 3:22 AM
That worked, Thanks
Sep 7, 2013 at 8:00 PM
objo wrote:
Make sure that you have the OxyPlot.dll assembly in the same assembly as the OxyPlot.WindowsForms.dll.

I will try to add OxyPlot.dll to the "OxyPlot WindowsForms" nuget package, but I am not sure if this is a good idea (the OxyPlot.dll assembly is already referenced by the OxyPlot Core nuget package)...
I don't understand how you do that! Please give more details.
Thx.