Improve sln migration tests (#5066)
* WIP Improve sln migration tests * Simple migration test * Improve the test * WIP update test assets * Update test * Test a bug fix * Add another migrate sln test * Fix FilePath related tests * Finish the migrate sln tests * Fix tests * Fix another path issue
This commit is contained in:
parent
7a2c6ad086
commit
89f0b05958
45 changed files with 690 additions and 65 deletions
|
@ -62,7 +62,7 @@ namespace Microsoft.DotNet.Tools.Add.ProjectToSolution
|
|||
|
||||
private void AddProject(SlnFile slnFile, string projectPath)
|
||||
{
|
||||
var projectPathNormalized = PathUtility.GetPathWithBackSlashes(projectPath);
|
||||
var projectPathNormalized = PathUtility.GetPathWithDirectorySeparator(projectPath);
|
||||
|
||||
if (slnFile.Projects.Any((p) =>
|
||||
string.Equals(p.FilePath, projectPathNormalized, StringComparison.OrdinalIgnoreCase)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue