A modern C# project template with best practices and development tools configured.
- .NET 10.0 - Latest .NET version with cutting-edge features
- C# Preview - Access to the latest C# language features
- Nullable Reference Types - Enhanced null safety
- Implicit Usings - Cleaner code with reduced boilerplate
- Embedded Debug Symbols - Better debugging experience
- Dev Container Support (with GitHub Copilot CLI) - Consistent development environment
- .NET 10.0 SDK or later
- Git
- Visual Studio Code (recommended)
├── src/ # Source code directory
├── Directory.Build.props # MSBuild properties for all projects
├── global.json # .NET SDK version specification
├── CODEOWNERS # GitHub code ownership
└── README.md # This file
The project includes common MSBuild properties:
- LangVersion:
preview- Latest C# language features - Nullable:
enable- Nullable reference types enabled - ImplicitUsings:
true- Global usings enabled - DebugType:
embedded- Embedded debug symbols
Specifies .NET SDK version with latestFeature roll-forward policy.
Create new projects in the src/ directory:
dotnet new sln -n MySolution
dotnet new console -n MyProject -o src/MyProject
dotnet sln add src/MyProject/MyProject.csprojThis template follows standard C# conventions:
- Use PascalCase for public members
- Use camelCase for private fields
- Enable nullable reference types
- Use implicit usings where appropriate
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the terms specified in the LICENSE file.
If you encounter any issues or have questions:
- Check the Issues page
- Create a new issue with detailed information
- Refer to the .NET Documentation
Happy coding! 🎉