-
Notifications
You must be signed in to change notification settings - Fork 16
Templates
Visual studio template files have been set up to help guide and simplify the development process of the BHoM.
The currently available templates are:
Project templates:
Item templates:
For more guidance on how to use the adapter template, please see The Adapter.
To get visual studio to detect the templates follow these steps:
- Download the template zip files from the links above.
- Place the files in the visual studio templates folder. This will generally be:
- C:\Users\ USERNAME \OneDrive\Documents\ VISUAL STUDIO VERSION \Templates\ProjectTemplates\Visual C# for any project template like the BHoM Adapter Template.
- C:\Users\ USERNAME \OneDrive\Documents\ VISUAL STUDIO VERSION \Templates\ItemTemplates\Visual C# for any item template like Engine method templates.
- Restart visual studio.
When you choose New Project from the visual studio menu all project templates should now show up there and when adding a new item to an existing project should now mean all the item templates should show up.
For the Engine Method Templates to work in your project, you need to have the following dlls referenced:
- BHoM
- Reflection_oM
Known Issues
If template is used to add a method by right clicking on a folder, an extra the folder name will be added. This will in many cases be wrong and conflict with the class name. Issues have been raised to improve the templates further going forward. In the meantime, please check the namespace of added methods.
-
Introduction to the BHoM:
What is the BHoM for?
Structure of the BHoM
Technical Philosophy of the BHoM -
Getting Started:
Installing the BHoM
Using the BHoM
Submitting an Issue
Getting started for developers -
Use GitHub & Visual Studio:
Using the SCRUM Board
Resolving an Issue
Avoiding Conflicts
Creating a new Repository
Using Visual Studio
Using Visual Studio Code -
Contribute:
The oM
The Engine
The Adapter
The Toolkit
The UI
The Tests -
Guidelines:
Unit convention
Geometry
BHoM_Engine Classes
The IImmutable Interface
Handling Exceptional Events
BHoM Structural Conventions
BHoM View Quality Conventions
Code Versioning
Wiki Style
Coding Style
Null Handling
Code Attributes
Creating Icons
Changelog
Releases and Versioning
Open Sourcing Procedure
Dataset guidelines -
Foundational Interfaces:
IElement Required Extension Methods -
Continuous Integration:
Introduction
Check-PR-Builds
Check-Core
Check-Installer -
Code Compliance:
Compliance -
Further Reading:
FAQ
Structural Adapters
Mongo_Toolkit
Socket_Toolkit