Winform Designer Problem

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

jfraschilla wrote at 2013-08-20 19:39:

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

DIfx wrote at 2013-08-22 13:54:

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

objo wrote at 2013-08-22 21:25:

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)...

jfraschilla wrote at 2013-08-23 04:22:

That worked, Thanks

ElToTo wrote at 2013-09-07 21:00:

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.