Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add GH2 template #20

Merged
merged 4 commits into from
Dec 28, 2024
Merged

Add GH2 template #20

merged 4 commits into from
Dec 28, 2024

Conversation

cwensley
Copy link
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

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
Copy link
Contributor Author

cwensley commented Dec 17, 2024

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
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
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
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
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.

@benjaminfortunato
Copy link

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
2 checks passed
@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