HC.Dev 1.7.1

dotnet tool install --global HC.Dev --version 1.7.1
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local HC.Dev --version 1.7.1
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=HC.Dev&version=1.7.1
                    
nuke :add-package HC.Dev --version 1.7.1
                    

Dev

Logo NuGet version

A .NET tool designed to simplify common development tasks for .NET projects.

Installation

You can install the tool globally using the .NET CLI:

dotnet tool install --global HC.Dev

To update to the latest version:

dotnet tool update --global HC.Dev

Features

Launch Solution or Project

The default command launches the current solution in your default IDE or project in Visual Studio Code.

dev
# or
dev launch

Bump Version

Bumps the version of all projects in the current solution or the current project.

dev bump [major|minor|patch|revision]

The bump command supports the following options:

  • major: Increments the major version (e.g., 1.0.0 → 2.0.0)
  • minor: Increments the minor version (e.g., 1.0.0 → 1.1.0) - Default
  • patch: Increments the patch version (e.g., 1.0.0 → 1.0.1)
  • revision: Increments the revision version (e.g., 1.0.0.0 → 1.0.0.1)

Bump and Commit Version

Bumps the version of all projects in the current solution or the current project and creates a git commit and tag for the new version.

dev bump-commit [major|minor|patch|revision]

The bump-commit command supports the following options:

  • major: Increments the major version (e.g., 1.0.0 → 2.0.0)
  • minor: Increments the minor version (e.g., 1.0.0 → 1.1.0) - Default
  • patch: Increments the patch version (e.g., 1.0.0 → 1.0.1)
  • revision: Increments the revision version (e.g., 1.0.0.0 → 1.0.0.1)

This command will:

  1. Update the version in the .csproj or all projects in the .sln.
  2. Stage the changes using git add.
  3. Create a commit with the message build: {version}.
  4. Tag the commit with the new version.

Build Solution or Project

Builds the current solution or project in Release mode.

dev build

If a build.cmd (Windows) or build.sh (Linux/macOS) file exists in the same directory, it will be used instead.

Frontend Building

Runs the Vidyano frontend builder in the current directory using Docker.

dev frontend

This command uses the ghcr.io/stevehansen/vidyano-frontend-builder Docker image to build your frontend.

Help

Displays help information.

dev help

Command Aliases

The following aliases are available for commonly used commands:

Alias Command
b build
h help
f frontend
v bump
vc bump-commit

License

This project is licensed under the MIT License. See the LICENSE file for details.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last updated
1.7.1 65 5/2/2025
1.7.0 146 4/23/2025
1.6.0 154 4/20/2025
1.5.0 161 4/20/2025
1.4.1 82 4/19/2025