Translations:Modding:Preparing For Code Mods/13/en
From Vintage Story Wiki
Open a powershell command line, paste the following, and press enter to run it. This execution should only take a few seconds, as it is a very small file.
dotnet new install VintageStory.Mod.Templates
This is where everything comes together. Your dotnet installation will download the Vintage Story mod templates from NuGet (an online package manager for .NET), and install the templates to be used with Visual Studio.