How to Upgrade .NET CLI Templates

October 14, 2020

I saw an awesome tweet on Twitter today:

Turns out, if you've upgraded to .NET Core 3.0, there is a special command just for this! Head over to the .NET Core Docs and look for these two options at the bottom:

Checking for Updates

dotnet new --update-check

Checks if there are updates available for the template packs that are currently installed. Available since .NET Core 3.0 SDK.

Applying Updates

dotnet new --update-apply

Checks if there are updates available for the template packs that are currently installed and installs them. Available since .NET Core 3.0 SDK.

New Course: SignalR Mastery

Become a master with SignalR and embracing real-time web applications. Join the list and learn more!