tomschrot.VSCode.Templates 9.13.1

dotnet new install tomschrot.VSCode.Templates::9.13.1                
This package contains a .NET Template Package you can call from the shell/command line.

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.

Screenshot1

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.

Screenshot2

Screenshot3

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.

Version Downloads Last updated
9.13.1 103 12/14/2024
9.13.0 95 12/13/2024
1.2.0 1,195 11/15/2022
1.1.0 1,082 12/1/2021
1.0.0 2,382 5/10/2021
0.9.0 384 5/7/2021