Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic eroor in setting backbrush (Read 1432 times)
hans
Junior Member
**
Offline


I Love MindFusion!

Posts: 81
Location: Netherlands
Joined: Mar 17th, 2012
eroor in setting backbrush
May 5th, 2012 at 10:32am
Print Post  
when I use the designer in VS2010 to set the diagram-property Backbrush, I cannot set it to anything usefull. I always get an error:
Object of type 'MindFusion.Drawing.SolidBrush' cannot be converted to type 'MindFusion.Drawing.Brush'.
or
'MindFusion.Drawing.LinearGradientBrush' cannot be converted to type 'MindFusion.Drawing.Brush'.

Is this a bug or am i missing somthing?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: eroor in setting backbrush
Reply #1 - May 7th, 2012 at 8:39am
Print Post  
If it's a Web Site project, copy MindFusion.Diagramming.WebForms.Design.dll to its Bin folder. For Web Application projects, VS should be able to find it from the path of the referenced MindFusion.Diagramming.WebForms.dll; just make sure the Design.dll is there. Also you might be getting "cannot convert" errors if the Design.dll loaded by VS2010 is not corresponding to the WebForms.dll version.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
hans
Junior Member
**
Offline


I Love MindFusion!

Posts: 81
Location: Netherlands
Joined: Mar 17th, 2012
Re: error in setting backbrush
Reply #2 - May 12th, 2012 at 1:16pm
Print Post  
Thanks, This helped.
MindFusion.Diagramming.WebForms.dll was missing.
The helpfile doesn't mention this being needed.
I Would have expected it in "NetDiagram Programmer's Guide" >> "NetDiagram Front-ends" >> "Setting up JavaApplet Mode"
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint