You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At first, everything was fine, no warnings and the designer shows the form correctly and I can easily add components.
After that I added OxyPlot correctly from the Package Management Console and I found the new PlotView component in the Custom Comonents tab.
The problem is that I can't add the component to the Form from the tools tab, so I did it by writing the equivalents statements in the source file.
The building process went fine and the application worked fine, but now I can't see the Form in the designer tab and instead I got this message:
Failed to load designer. Check the source code for syntax errors and check if all references are available.
ICSharpCode.FormsDesigner.FormsDesignerLoadException: System.ComponentModel.Design.Serialization.CodeDomSerializerException: Could not find type 'OxyPlot.WindowsForms.PlotView'. Please make sure that the assembly that contains this type is referenced. If this type is a part of your development project, make sure that the project has been successfully built using settings for your current platform or Any CPU.
System.ComponentModel.Design.Serialization.CodeDomSerializerException: The variable 'plot1' is either undeclared or was never assigned.
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.Error(IDesignerSerializationManager manager, String exceptionText, String helpLink)
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeExpression(IDesignerSerializationManager manager, String name, CodeExpression expression)
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeExpression(IDesignerSerializationManager manager, String name, CodeExpression expression)
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeStatement(IDesignerSerializationManager manager, CodeStatement statement)
at ICSharpCode.FormsDesigner.FormsDesignerViewContent.LoadDesigner()
at ICSharpCode.FormsDesigner.FormsDesignerViewContent.LoadAndDisplayDesigner()
at ICSharpCode.FormsDesigner.FormsDesignerViewContent.LoadInternal(OpenedFile file, Stream stream)
at ICSharpCode.SharpDevelop.Workbench.AbstractViewContentHandlingLoadErrors.Load(OpenedFile file, Stream stream
I tried something and the result was more or less better.
I moved the declaration of the plotview component from MainForm.Designer.cs to MainForm.cs and now I can see the form in the designer but I can't add the component from the tool list (the plotview is there).
Platform and tools
Issue description
At first, everything was fine, no warnings and the designer shows the form correctly and I can easily add components.
After that I added OxyPlot correctly from the Package Management Console and I found the new PlotView component in the Custom Comonents tab.
The problem is that I can't add the component to the Form from the tools tab, so I did it by writing the equivalents statements in the source file.
The building process went fine and the application worked fine, but now I can't see the Form in the designer tab and instead I got this message:
snapshot here https://drive.google.com/file/d/0B9shvGtKbyqxb2ZCNzNsdi01WjQ/view?usp=sharing
The project could be downloaded here https://drive.google.com/file/d/0B9shvGtKbyqxYWMtVjlyNTR0Rmc/view?usp=sharing
The text was updated successfully, but these errors were encountered: