What worked for me was simply navigating to the directory containing the Program.cs file, and running the NuGet installation package command.