.vscode
Files
- launch.json
This file is a Visual Studio Code `launch.json` configuration designed for debugging Rhino 8 plugins. It defines two distinct debugging scenarios: one for .NET Core (`coreclr`) and another for the legacy .NET Framework (`clr`). Each configuration specifies the path to the Rhino executable, sets command-line arguments to launch Grasshopper, and configures environment variables like `RHINO_PACKAGE_DIRS`. The setup automatically runs a "build" task before launching the debugger and targets both Windows and macOS operating systems. This allows developers to seamlessly debug their C# plugin code within the Rhino environment.
- tasks.json
This is a Visual Studio Code `tasks.json` configuration file used to define automated build tasks. It specifies a single task labeled "build" that executes the `dotnet build` command on a specific project file named `GlassHopper.csproj`. The task utilizes the shell execution type and includes compiler problem matchers (`$msCompile`) to parse and display errors or warnings in the VS Code terminal. Additionally, it configures the presentation panel to always reveal output and clear previous results before each run, ensuring a clean debugging experience for .NET projects.