diff --git a/articles/create-package.md b/articles/create-package.md index cd57e3e7..3c9dfba2 100644 --- a/articles/create-package.md +++ b/articles/create-package.md @@ -8,9 +8,16 @@ The Bonsai language can be extended with custom packages, which are installed an ## Pre-requisites -1. [Visual Studio](https://www.visualstudio.com/). You can install the Community edition for free. +1. Install [Visual Studio](https://www.visualstudio.com/). You can install the Community edition for free, the version 2022 works. -2. Bonsai VS Extensions. From the Windows Start Menu, search for the "**Install Bonsai VS Extensions**" shortcut and run it. +2. Install [.NET 8.0 SDK](https://dotnet.microsoft.com/en-us/download) + +3. In a command-line terminal, run: + +```dotnet new install Bonsai.Templates::2.9.0``` + +The templates can now be found in visual studio (you can use Visual Studio Community 2022) and it should look like this: +469548332-668dd4a3-aa0f-4bff-972d-218654bdb312 ## Creating a package project @@ -118,4 +125,4 @@ The Bonsai language can be extended with custom packages, which are installed an > If you have your custom package installed in the same editor used to debug the source code, Bonsai will prefer the installed package over the compiled source code library. In this case, either uninstall the package, or use a local Bonsai installation. > [!Note] - > If you would like to share the package with the broader Bonsai community, consider publishing it to [NuGet](https://www.nuget.org/packages/manage/upload) by creating a NuGet account and uploading the `.nupkg` file. Ensure the `PackageType` field is properly defined before submission. \ No newline at end of file + > If you would like to share the package with the broader Bonsai community, consider publishing it to [NuGet](https://www.nuget.org/packages/manage/upload) by creating a NuGet account and uploading the `.nupkg` file. Ensure the `PackageType` field is properly defined before submission.