Skip to content

Complete TemplateDotNetTool to VersionMark rename#11

Merged
Malcolmnixon merged 5 commits intomainfrom
copilot/fix-template-dotnet-tool-usage
Feb 14, 2026
Merged

Complete TemplateDotNetTool to VersionMark rename#11
Malcolmnixon merged 5 commits intomainfrom
copilot/fix-template-dotnet-tool-usage

Conversation

Copy link
Contributor

Copilot AI commented Feb 14, 2026

Pull Request

Description

VersionMark repository was instantiated from TemplateDotNetTool template but never properly renamed. All project identifiers, namespaces, tool commands, and references incorrectly used TemplateDotNetTool throughout the codebase.

Project Structure

  • Renamed directories: src/DemaConsulting.TemplateDotNetToolsrc/DemaConsulting.VersionMark
  • Renamed test directory: test/DemaConsulting.TemplateDotNetTool.Teststest/DemaConsulting.VersionMark.Tests
  • Renamed solution file: DemaConsulting.TemplateDotNetTool.slnxDemaConsulting.VersionMark.slnx
  • Updated all .csproj files and project references

Code Changes

  • Updated namespaces in 13 C# files: DemaConsulting.TemplateDotNetToolDemaConsulting.VersionMark
  • Updated package metadata: PackageId, ToolCommandName (templatetoolversionmark), Description, URLs
  • Updated test names: TemplateTool_*VersionMark_*
  • Updated CodeBase property for test results
  • Updated help text and command references

CI/CD Configuration

  • Sonar project key: demaconsulting_TemplateDotNetTooldemaconsulting_VersionMark
  • Updated all workflow paths and package installation steps
  • Updated PDF artifact names
  • Updated CodeQL configuration paths

Requirements and Documentation

  • Updated requirements.yaml title: "Template DotNet Tool Requirements" → "VersionMark Requirements"
  • Updated all test references in requirements.yaml: TemplateTool_VersionDisplayVersionMark_VersionDisplay, TemplateTool_HelpDisplayVersionMark_HelpDisplay
  • Fixed 5 platform requirements (PLT-001 through PLT-005) that were unsatisfied due to incorrect test name references
  • Updated all documentation files in docs/ (buildnotes, guide, justifications, quality, requirements, tracematrix)
  • Updated CONTRIBUTING.md, SECURITY.md, CODE_OF_CONDUCT.md with correct repository URLs and product names
  • Updated issue templates (bug_report.yml, feature_request.yml, config.yml)
  • Updated build scripts (build.sh, build.bat) and lint scripts (lint.sh, lint.bat)
  • Updated VS Code tasks configuration
  • Updated all agent files (.github/agents/) titles and content
  • Updated CodeQL configuration name and description
  • Updated .cspell.json dictionary entry

Preserved References

  • .github/agents/repo-consistency-agent.md appropriately retains TemplateDotNetTool references as it maintains consistency with that template

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Code quality improvement

Related Issues

Pre-Submission Checklist

Before submitting this pull request, ensure you have completed the following:

Build and Test

  • Code builds successfully: dotnet build --configuration Release
  • All unit tests pass: dotnet test --configuration Release
  • Self-validation tests pass:
    dotnet run --project src/DemaConsulting.VersionMark --configuration Release --framework net10.0
    --no-build -- --validate
  • Code produces zero warnings

Code Quality

  • Code formatting is correct: dotnet format --verify-no-changes
  • New code has appropriate XML documentation comments
  • Static analyzer warnings have been addressed

Quality Checks

Please run the following checks before submitting:

  • Spell checker passes: cspell "**/*.{md,cs}"
  • Markdown linter passes: markdownlint "**/*.md"
  • YAML linter passes: yamllint '**/*.{yml,yaml}'

Testing

  • Added unit tests for new functionality
  • Updated existing tests if behavior changed
  • All tests follow the AAA (Arrange, Act, Assert) pattern
  • Test coverage is maintained or improved

Documentation

  • Updated README.md (if applicable)
  • Updated ARCHITECTURE.md (if applicable)
  • Added code examples for new features (if applicable)
  • Updated requirements.yaml (if applicable)

Additional Notes

All 72 tests pass across .NET 8/9/10. CodeQL security scan reports zero vulnerabilities. All 29 requirements in requirements.yaml are now satisfied with tests. Zero inappropriate TemplateDotNetTool references remain (only repo-consistency-agent.md appropriately retains them). Total of 47+ files updated across the comprehensive rename.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI and others added 3 commits February 14, 2026 17:13
Co-authored-by: Malcolmnixon <1863707+Malcolmnixon@users.noreply.github.com>
Co-authored-by: Malcolmnixon <1863707+Malcolmnixon@users.noreply.github.com>
Co-authored-by: Malcolmnixon <1863707+Malcolmnixon@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix incorrect usage of TemplateDotNetTool Sonar ID in build Complete TemplateDotNetTool to VersionMark rename Feb 14, 2026
Copilot AI requested a review from Malcolmnixon February 14, 2026 17:27
@Malcolmnixon
Copy link
Contributor

@copilot I got the following errors trying to build the docs:

Error: Only 24 of 29 requirements are satisfied with tests.
Unsatisfied requirements:
  - PLT-001
  - PLT-002
  - PLT-003
  - PLT-004
  - PLT-005

It seems you didn't look deep enough into the old naming - you did successfully rename the self-validation tests to replace "TemplateTool" with "VersionMark" but didn't hit the requirements.yaml file. Please do a full search of "TemplateTool" and other similar old names that should be fixed.

…ntation

Co-authored-by: Malcolmnixon <1863707+Malcolmnixon@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Feb 14, 2026

@copilot I got the following errors trying to build the docs:

Error: Only 24 of 29 requirements are satisfied with tests.

...

Fixed in commit 4037fb7. Updated requirements.yaml to change all test references from TemplateTool_* to VersionMark_* (fixing PLT-001 through PLT-005 requirements). Also updated the requirements title and all documentation files, agent files, lint scripts, and .cspell.json dictionary. All 72 tests pass and no inappropriate TemplateTool references remain.

@Malcolmnixon Malcolmnixon marked this pull request as ready for review February 14, 2026 17:59
@Malcolmnixon Malcolmnixon merged commit fe8c27a into main Feb 14, 2026
11 checks passed
@Malcolmnixon Malcolmnixon deleted the copilot/fix-template-dotnet-tool-usage branch February 15, 2026 03:58
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