Page 1 of 1

Unable to use Toolbox in visual studio for CS HTML5 projects

Posted: Tue Jul 18, 2017 8:59 pm
by venky20
Unable to use Toolbox in visual studio for CS HTML5 projects. All the tool box elements are greyed out when I switch to designer view. Does anyone know how to enable the toolbox?

Re: Unable to use Toolbox in visual studio for CS HTML5 projects

Posted: Mon Aug 07, 2017 6:56 am
by kmatt
I doubt it is supported, since the standard WPF and silverlight controls would use the system.xxx.dll or Microsoft.xxx.dll files from Microsoft. CSHTML5 uses their own set of dlls and I doubt they've implemented designer support for them since the idea is you already have an existing project you are trying to convert, not one that you are trying to create. I hand-edit the xaml when I need to add something, but you could create a dummy silverlight solution and add the control to a form there, then copy/paste the xaml code for the controls into the cshtml5 xaml forms.