The build in editor (kind of crap) is broken for Lists - kinda a car that has ABS not working when it rains. That said the editor fails in other cases as well. That said most people use VS (but I very rarely to that).
Hello,
I like to share my approach in executing C# scripts with Rhino using VS Code.
[vscode_csharp]
1.) Download VS Code , open VS Code, open a new Folder
2.) Search & Load the Microsoft C# Extention
3.) Go in the terminal and write: dotnet new console
-> This opens a new console application. We don’t compile from vscode, so we only need to get a basic project setup having a .csproject file.
4.) open the cs.project file and under </propertygroup> add:
<ItemGroup>
<Refer…
OK, shameless plug;
Over time I’ve been extending my little C# to VS code generator (from Grasshopper’ C# ScriptComponent) to VS code, and I thought I might share it with this generous community which has shared so much with me.
The published version is compiled but I have a GH ScriptComponent version in which I do all my actual enhancements (due to the quick response in GH) and then I sync the exported source with the VS version using a DIFF tool.
(the original code generator I converted t…