.NET Core CLI and Global Tools
summary
Explains that global.json pins which SDK runs by major.minor but still rolls forward on patch updates, shows dotnet commands used: dotnet --info, dotnet new (console/globaljson), dotnet build (auto-restore) vs msbuild, and that build outputs are DLLs run with dotnet <path>.dll. Demonstrates global tools delivered via NuGet with dotnet tool install -g which creates a shimbed executable on PATH, compares framework‑dependent vs self-contained publish (~250 MB), and warns the preview linker can remove unused assemblies and break apps.
AI-written summary · about
chapters (11)
- 0:00Introduction
- 3:40Global JSON
- 11:55Custom SDK
- 14:35Creating a Console App
- 17:10Project System
- 21:35XML
- 26:05Build
- 38:10Publish
- 42:25Framework Dependent Executable
- 45:15Linker
- 46:35Global Tools
related talks
43m.Net Standard & .Net Core: Platform Evolution
48mSimplifying .NET Installs with dotnetup
45m.NET Standard: The Easy Route to Platform Independence
25mCommandLine Tools for DevOps
45mLess is more—a build pipeline for the modern age
51mC# Scripting in the .NET Core world
01h 03mWhat’s New in Visual Studio 2017 and VS Code
14mUnleash the Power of Nuke: Consistent .NET Build Automation
