Add Instructions , Prompts, Chatmode options to Upgrade a dotnet solution to higher version #322
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Pull Request Checklist
node update-readme.js
and verified thatREADME.md
is up to date.Description
This PR introduces a standardized, chatmode-compatible guidance file for performing .NET upgrades across multi-project solutions.
The document provides a generic and adaptive playbook that automatically adjusts based on the repository’s current .NET version and outlines discovery, planning, execution, and validation workflows.
Key Highlights
Added dotnet-upgrade.chatmode.md for automated upgrade guidance
Supports detecting current .NET versions from the solution using shell and dotnet commands
Provides structured chat prompts to generate:
Upgrade sequences
Dependency-aware upgrade order
Per-project upgrade instructions and validation steps
Includes CI/CD update templates for Azure DevOps and GitHub Actions
Designed to remain version-agnostic — supports upgrades from any .NET version to the next stable LTS
Intended Usage
This file acts as a playbook for engineering teams or Copilot agents to:
Discover framework versions dynamically
Recommend upgrade paths (e.g., net6.0 → net8.0 → net9.0)
Automate validation, testing, and PR generation steps
Validation
Verified file renders correctly in markdown preview
Confirmed content is generic, reusable, and consistent with best practices
Checked auto-detection and upgrade command examples for accuracy
Type of Contribution
Additional Notes
By submitting this pull request, I confirm that my contribution abides by the Code of Conduct and will be licensed under the MIT License.