Skip to content

Develop - #26

Merged
ptr727 merged 15 commits into
mainfrom
develop
Feb 24, 2026
Merged

Develop#26
ptr727 merged 15 commits into
mainfrom
develop

Conversation

@ptr727

@ptr727 ptr727 commented Feb 13, 2026

Copy link
Copy Markdown
Owner

No description provided.

ptr727 and others added 11 commits January 15, 2026 11:52
…sion recommendations

Signed-off-by: Pieter Viljoen <ptr727@users.noreply.github.com>
* Branding

Signed-off-by: Pieter Viljoen <ptr727@users.noreply.github.com>

* Allow only squash merging

Signed-off-by: Pieter Viljoen <ptr727@users.noreply.github.com>

---------

Signed-off-by: Pieter Viljoen <ptr727@users.noreply.github.com>
Clarify the requirements for merge rules in the README and ensure all
general merge types are enabled for rulesets to be honored.

---------

Signed-off-by: Pieter Viljoen <ptr727@users.noreply.github.com>
Signed-off-by: Pieter Viljoen <ptr727@users.noreply.github.com>

---------

Signed-off-by: Pieter Viljoen <ptr727@users.noreply.github.com>
Signed-off-by: Pieter Viljoen <ptr727@users.noreply.github.com>
Enhance the README for clearer setup instructions and update branding
for consistency. Adjust merge rules and clarify requirements in the
documentation. Include additional project files and configurations to
support development and code generation tasks.

---------

Signed-off-by: Pieter Viljoen <ptr727@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Improve the logging framework with global configuration options and
refactor the code structure. Enhance documentation across multiple files
and add agent instructions for better clarity.

---------

Signed-off-by: Pieter Viljoen <ptr727@users.noreply.github.com>
Improve code structure and documentation across multiple files, enhance
the logging framework with global configuration options, and update the
testing framework references. Additionally, reorganize the README to
clarify branching workflow requirements.

---------

Signed-off-by: Pieter Viljoen <ptr727@users.noreply.github.com>
Signed-off-by: Pieter Viljoen <ptr727@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings February 13, 2026 15:27

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request represents a major refactoring and modernization of the ProjectTemplate codebase. The changes transform the template from a basic structure into a comprehensive, production-ready template demonstrating modern .NET development best practices.

Changes:

  • Upgraded testing framework from xUnit v2 to xUnit v3 with comprehensive logging tests
  • Introduced a new logging architecture using Microsoft.Extensions.Logging abstractions with Serilog integration
  • Added a new CodeGen project demonstrating code generation patterns and API integration
  • Completely restructured Console application with improved command-line parsing and logging
  • Enhanced documentation with CODESTYLE.md, AGENTS.md, and HISTORY.md
  • Reorganized GitHub Actions workflows with clearer naming and improved task structure
  • Removed deprecated code and dependencies (ProcessTask, AOT build configurations)

Reviewed changes

Copilot reviewed 63 out of 65 changed files in this pull request and generated no comments.

Show a summary per file
File Description
Tests/Tests.csproj Upgraded to xUnit v3, added test project properties, removed Console dependency
Tests/SampleTest.cs Simplified tests with improved naming following MethodName_Scenario_ExpectedBehavior pattern
Tests/LoggingTests.cs New comprehensive logging tests covering LogOptions and factory patterns
Tests/Fixture.cs Refactored to use xUnit v3 AssemblyFixture and collection fixtures
Library/Library.csproj Simplified dependencies to Microsoft.Extensions.Logging.Abstractions, conditional AOT verification
Library/Options.cs New options class for library configuration with ILoggerFactory and ILogger support
Library/LogOptions.cs New global logging configuration with thread-safe factory and logger management
Library/Library.cs New library implementation with lazy logger initialization
Library/Extensions.cs Refactored to use LoggerMessage source generator for performance
Console/Console.csproj Simplified project configuration, removed AOT by default, updated dependencies
Console/Program.cs Major refactor using primary constructors and improved error handling
Console/CommandLine.cs Complete rewrite with better option handling and subcommand support
Console/LoggerFactory.cs New factory implementation bridging Serilog and Microsoft.Extensions.Logging
Console/Extensions.cs Dual extension methods for both Serilog and Microsoft.Extensions.Logging ILogger
CodeGen/*.cs New code generation project with API integration example
README.md Comprehensive documentation rewrite with detailed usage and setup instructions
CODESTYLE.md New code style guide documenting all project conventions
AGENTS.md New AI agent instructions for maintaining consistency
HISTORY.md New release history documentation
.github/workflows/* Reorganized workflows with clearer naming (action/task/job suffixes)
.editorconfig Updated with ReSharper settings and modifier order improvements
Benchmarks/*.csproj Simplified project properties
Docker/Dockerfile Removed unused AOT dependencies

Signed-off-by: Pieter Viljoen <ptr727@users.noreply.github.com>
#27)

…improve branch condition checks

Signed-off-by: Pieter Viljoen <ptr727@users.noreply.github.com>
Copilot AI review requested due to automatic review settings February 24, 2026 16:17

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 8 out of 8 changed files in this pull request and generated 2 comments.

Comment thread .github/workflows/build-executable-task.yml Outdated
Comment thread .github/workflows/run-codegen-pull-request-task.yml
Signed-off-by: Pieter Viljoen <ptr727@users.noreply.github.com>

Signed-off-by: Pieter Viljoen <ptr727@users.noreply.github.com>
Signed-off-by: Pieter Viljoen <ptr727@users.noreply.github.com>
@ptr727
ptr727 enabled auto-merge (squash) February 24, 2026 17:40
@ptr727
ptr727 merged commit 3d43506 into main Feb 24, 2026
35 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants