Introducing dotGet: an installer for .NET Core CLI apps

The App

<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<AssemblyName>branches</AssemblyName>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp2.0</TargetFramework>
</PropertyGroup>
</Project>

The NuGet Package

Installing with dotGet

Installing branches.net (1.0.0)
Registering command 'branches'
branches.net (1.0.0) installed successfully!

Some things to note

  • You can have multiple CLI apps in a single package, you just need to copy the publish files of each app to the same netcoreapp*.* sub folder of the NuGet package.
  • Currently, dotGet will select the latest version of netcoreapp*.* if more than one is present (e.g netcoreapp2.0 over netcoreapp1.1)
  • dotGet doesn’t, at this time, check if you have the required shared runtime version installed. When you invoke the command of the just installed package, dotnet will direct you to install the appropriate shared runtime version.
  • Only NuGet packages on the official gallery can be installed now. In the future dotGet will support custom NuGet feeds and possibly other forms of distribution (e.g. git repos)

--

--

--

Microsoft MVP | .NET Contributor | C# Enthusiast | Mildly Uninteresting

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Github Flow with Github action ⚙

🎉Our AMA with the Speedevs Organization (RICH GEMS) was very successful.

Most 5 Mobile App Development Myths You Need to Overcome Right Now!!

Flatiron Phase 3 Module

5 SET OF LIMITATIONS TO USING UIPATH

5 SET OF LIMITATIONS TO USING UIPATH

Debugging Concurrent Systems with a Model Checker

David Kopec on Twitch

The Creative Problem Solving Strategy that Helped Me Become a Better Programmer Overnight

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Toni Solarin-Sodara

Toni Solarin-Sodara

Microsoft MVP | .NET Contributor | C# Enthusiast | Mildly Uninteresting

More from Medium

Happy Birthday .NET — 20 Years of .NET Framework

Global Using Directive in C# 10 with net 6.0

.NET Core Runtime vs .NET Framework Runtime

Hot Reload in .NET