Refactor Hosts (again) and Reconcile Project & Solution referecnces. #2225
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.
♻️ (solution): remove NKDAgility.AzureDevOps.Tools.CommandHost project and update project references
🔧 (docs): update generated XML documentation to reflect latest commit and branch information
The NKDAgility.AzureDevOps.Tools.CommandHost project is removed from the solution to streamline the project structure. This change also updates the project references to point to the correct paths, ensuring that the solution builds correctly. The generated XML documentation is updated to reflect the latest commit and branch information, ensuring that the documentation is accurate and up-to-date.
♻️ (refactor): update project references and remove unused code
MigrationTools.Helpers.Tests
instead ofMigrationTools.Fakes
.NKDAgility.AzureDevOps.Tools.CommandHost
project toMigrationTools.Helpers.Tests
.FakeMigrationToolVersion
andFakeMigrationToolVersionInfo
for testing.RunMigrationTools
withRunConsoleAsync
inProgram.cs
files.HostExtensions
andMigrationService
classes.These changes improve the project structure by consolidating test helpers into a single project, ensuring consistency in project references, and removing obsolete code. This refactor enhances maintainability and clarity in the codebase.
♻️ (MigrationTools.Host): refactor to use Spectre.Console.Extensions.Hosting and remove redundant services
🔧 (MigrationTools.Host): update project references to reflect new structure
Refactor the code to use
Spectre.Console.Extensions.Hosting
instead ofSpectre.Console.Cli.Extensions.DependencyInjection
for better integration and maintainability. Remove redundant services likeStartupService
andDetectVersionService
to simplify the codebase. Update project references to reflect the new structure, ensuring that tests and other dependencies are correctly aligned with the changes. This improves the overall architecture and reduces complexity.♻️ (tests): update namespace and project references from MigrationTools.Fakes to MigrationTools.Helpers.Tests
The namespace and project references are updated to reflect the new location and naming convention for the test helpers. This change improves code organization and clarity by using a more descriptive and accurate namespace.