@ivelin.peychev wrote:
I am trying to build ghpython with VisualStudio2017:
However I receive this error
Severity Code Description Project File Line Suppression State Error CS0266 Cannot implicitly convert type ‘object’ to ‘System.Windows.Forms.Control’. An explicit conversion exists (are you missing a cast?) GhPython Path\ghpython\Component\ScriptingAncestorComponent.cs 586 Active public Control CreateEditorControl(Action<string> helpCallback) { if (m_py == null) return null; var control = m_py.CreateTextEditorControl("", helpCallback); return control; //error comes up at this 'control' }
Posts: 2
Participants: 2