Summary
Implement ISolutionService to detect solution file format and add newly created module projects to the solution.
Depends On
- Phase 4: File Generation (needs projects to exist on disk)
Tasks
Acceptance Criteria
- New projects are added to .slnx files correctly
- New projects are added to .sln files correctly
dotnet sln list shows the new projects after modification
- Solution file format is auto-detected
- Existing projects in the solution are not disturbed
References
Summary
Implement
ISolutionServiceto detect solution file format and add newly created module projects to the solution.Depends On
Tasks
ISolutionService/SolutionService:FindSolutionFile(string directory)→ string (path to .slnx or .sln)DetectFormat(string solutionPath)→SolutionFormatenum (Slnx | Sln)AddProjects(string solutionPath, List<string> projectPaths)→ voidprojectsarrayProject("...")entries with new GUIDsdotnet sln listshould show new projectsdotnet buildshould not fail due to solution file issuesAcceptance Criteria
dotnet sln listshows the new projects after modificationReferences