Repository navigation
Build And Release
samatstarion edited this page Nov 21, 2026
·
5 revisions
uml4net is developed using Visual Studio 2022.
The following tools are used by the Starion Group development team:
- Visual Studio 2022 Professional (Community Edtion will work as well)
- Jetbrains Rider
- Resharper Ultimate 2024.2.1 or later
- Git Extensions
The uml4netsolution contains two build configurations:
- debug: used while developing new features
- release: used to create a build for release
The uml4net libraries are released as nuget packages on https://nuget.org. The release process is automated with a Github Action that is invoked manually and is provided the version number: https://github.com/STARIONGROUP/uml4net/actions/workflows/nuget-release.yml
Before a release can be made, the following steps shall be followed and executed:
- Run all unit tests and verify that they pass (with the exception of those tests that may need a running server)
- Make sure the version numbers of the projects are incremented when things have changed; the project makes use of SEMVER.
- The libraries are versioned independently: only a project whose code or dependencies changed gets a new version.
-
uml4net.Tools always carries the highest version of the release, and that version is the one given to the release Github Action (it becomes the git tag and the GitHub release). This holds even when the changes in uml4net.Tools itself would only justify a patch. The reason:
VersionChecker(uml4net.Tools/Services/VersionChecker.cs) compares the version of the running tool with the tag of the latest GitHub release, so a tool with a lower version than the release tag tells every user that a newer version is available.
- Update the
<PackageReleaseNotes>in the .csproj files; this will be visible on https://nuget.org and the content will be used to create a draft release note when invoking the release Github Action
Execute the release action once this has completed do the following steps
- Via the GitHub web-ui, update the
draft release. The description includes the contents of the for each project in the solution - rebase master from development and push to remote
copyright @ Starion Group S.A.
- Home
- uml4net Tools
- Code Generation Tutorial
- Primitive Types Mapping
- Profiles and StereoTypes
- Code Generation Conventions
- UML Handlebars Helpers
- Generating uml4net
- Developers Experience
- SBOM
- Design Decisions