Skip to content

Add GH2 template#20

Merged
cwensley merged 4 commits into
mainfrom
curtis/add-gh2
Dec 28, 2024
Merged

Add GH2 template#20
cwensley merged 4 commits into
mainfrom
curtis/add-gh2

Conversation

@cwensley

Copy link
Copy Markdown
Contributor

No description provided.

- Make it a proper plugin so it loads in GH2
- Add Plugin Icon
- Add VS 2022 UI to create the template
- Use assembly attributes for plugin info as much as possible
@benjaminfortunato

Copy link
Copy Markdown

I'm getting the error message Extract: extension/package.json not found inside zip. I'm using visual studio 2024. Tried updating to the latest visual studio code 1.96 and same error. Opened up the VSIX as a zip and couldn't find a package,json file.

@cwensley

cwensley commented Dec 17, 2024

Copy link
Copy Markdown
Contributor Author

Hi @benjaminfortunato, thanks for trying it out! However, the vsix is for Visual Studio 2022 for Windows only, not Visual Studio Code. There is no Visual Studio 2024 as far as I'm aware. For Visual Studio Code or command line, you can install the templates package via dotnet new install Rhino.Templates.8.15.0.nupkg

"osx": {
"program": "/Applications/Rhino 8.app/Contents/MacOS/Rhinoceros",
"args": [
"-runscript=_G2"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This never seems to work for me on Mac, and I'm not sure why.

Comment on lines +34 to +38
"choices": [
{
"choice": "8",
"description": "Version 8"
}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

May make sense to include 9 WIP

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you think I should add that to all of the templates, or just the GH2 template?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think I might add 9 WIP at some later date to all of the templates.

Comment thread Rhino.VisualStudio/Grasshopper2OptionsViewModel.cs Outdated
cwensley and others added 2 commits December 17, 2024 08:36
Co-authored-by: Callum Sykes <28632338+clicketyclackety@users.noreply.github.com>
@benjaminfortunato

Copy link
Copy Markdown

Hi @benjaminfortunato, thanks for trying it out! However, the vsix is for Visual Studio 2022 for Windows only, not Visual Studio Code. There is no Visual Studio 2024 as far as I'm aware. For Visual Studio Code or command line, you can install the templates package via dotnet new install Rhino.Templates.8.15.0.nupkg

Got it, thanks for pointing that out!

@cwensley cwensley merged commit 77bb0dc into main Dec 28, 2024
@cwensley cwensley deleted the curtis/add-gh2 branch December 28, 2024 21:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants