How I can create Blockly with C#

1,982 views
Skip to first unread message

Jariyaporn yathiang

unread,
May 4, 2019, 1:38:48 AM5/4/19
to Blockly
I would like to use Blockly with C# programming . for create GUI

Beka Westberg

unread,
May 4, 2019, 9:53:27 AM5/4/19
to Blockly
Hello,

Are you looking to program yourself in C#? Or are you looking to have your blocks generate C# code? If you want your blocks to generate C# code you will have to create your own C# generator

To create your own C# generator it is best to start with one of the existing generator files and slowly convert it over to C#. It will be trickier because C# is a strongly typed language, but strong typing is supported! For more info about creating a generator see this issue, or this, this, this, and this post.

I hope that helps! If you have any further questions, or this wasn't the information you were looking for, please reply : )
Beka

Jariyaporn yathiang

unread,
May 8, 2019, 1:57:38 AM5/8/19
to blo...@googlegroups.com
Hello Beka,
I looking for both solution, but i didn't know how to start it, Please you help to suggest me.


ในวันที่ ส. 4 พ.ค. 2019 เวลา 20:53 Beka Westberg <bekawe...@gmail.com> เขียนว่า:
--
You received this message because you are subscribed to the Google Groups "Blockly" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blockly+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Federico Morrone

unread,
May 8, 2019, 2:36:18 AM5/8/19
to Blockly
hi, lately I've been working on a library to add more generator and functionalities to blockly, the library also includes a c# generator, it's not completed yet so if you'd like to check it out and contribute here's the link: https://github.com/FedericoMorrone/extraBlockly 
 *forgive grammar and spelling mistake but I'm not a native speaker* 
To unsubscribe from this group and stop receiving emails from it, send an email to blo...@googlegroups.com.

Andrew

unread,
May 8, 2019, 1:33:09 PM5/8/19
to Blockly
If you are looking to host Blockly in C# on the desktop you will not be able to use the WebBrowser control as it simply does not work correctly despite many posts about configuration settings in the registry or on the control or in the HTML page.  The only solution I have seen thus far that seems to accomplish this is by using CEFSharp which you can find here: https://cefsharp.github.io/

Best of luck to you.
To unsubscribe from this group and stop receiving emails from it, send an email to blo...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages