Updating MDK² NuGet Packages using VSCode or Command Line
Tip
Using MDK Hub? The Hub can update packages automatically. See the Updates & Maintenance section for details.
Using Command Line
Open a terminal (Terminal, Command Prompt, or PowerShell).
Navigate to your project folder:
cd path\to\your\projectCheck for outdated packages:
dotnet list package --outdatedThis shows which packages have updates available.
Update packages individually:
dotnet add package Mal.Mdk2.PbAnalyzers dotnet add package Mal.Mdk2.PbPackager dotnet add package Mal.Mdk2.ReferencesRepeat for each package you want to update. The command automatically installs the latest version.