tomschrot.VSCode.Templates
9.13.1
dotnet new install tomschrot.VSCode.Templates::9.13.1
tomschrot.VSCode.Templates
New version 9.13.1 for .NET 9 / C# 13
Release Notes:
As you might guess, I synced the version numbering of the .NET framework and C# language version. Now you can tell by the version of the template which .NET release it's made for. Version 9.13.1 adds a template for C# library. Please see my useful hint for file nesting of partial C# classes organized in separate files!
Installation:
Download the package and install to your local dotnet distribution:
Win : dotnet new install tomschrot.VSCode.Templates.9.13.0.nupkg --force
Linux: dotnet new install ./tomschrot.VSCode.Templates.9.13.0.nupkg --force
where '--force' is optional and will overwrite an older version.
Usage:
1. Terminal:
You may create new project from the command / bash with:
dotnet new vsc-console -n [myConsoleProject]
where [myConsoleProject] is your project's name. A new folder is created that contains all the assets.
2. VS Code Create Project
Since VS Code's C# Dev Kit extension, it is very conveneant to create new .NET projects. Just show the Project-Explorer on the side, click 'Create new .NET Project' and selct the 'tomschrot Console App for VSCode' template.
Select a location where the project is going to live and a name of your choice. Stupidly, dotnet creates two nested folders with the same name?? Open the inner folder only! The (maybe hidden) folder '.vscode' contains the task an launch configurations for the project. Just press 'Strg-Shift-B' and the project will compile and hit F5 to start the debugging directly.
Final Notes
As I switched my development environment to Linux (which really works great for .NET development!) and compiled the template under linux, there could be some incompatibilities I'm not aware of. Drop me a note if you find some...
Happy developing, tomschrot December 2024
-
.NETStandard 2.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.