Skip to content

Suggestion to parse solution when projects have similar names - #5367

Merged
Forgind merged 16 commits into
dotnet:masterfrom
joseotavioq:fix_sln_parser_proj_similar_names
Aug 14, 2020
Merged

Forgind merged 16 commits into
dotnet:masterfrom
joseotavioq:fix_sln_parser_proj_similar_names

Conversation

@joseotavioq

Copy link
Copy Markdown
Contributor

Created a fix to detect collision caused by a unique project name's normalization, reported on issue #3019

@Nirmal4G Nirmal4G left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Naming suggestions. What do you think?

Comment thread src/Build/Construction/Solution/ProjectInSolution.cs Outdated
Comment thread src/Build/Construction/Solution/ProjectInSolution.cs Outdated
Comment thread src/Build/Construction/Solution/SolutionFile.cs Outdated
Comment thread src/Build/Construction/Solution/ProjectInSolution.cs Outdated
@Forgind

Forgind commented May 22, 2020

Copy link
Copy Markdown
Contributor

What's wrong with this:
Forgind@13ae999
?

@joseotavioq

Copy link
Copy Markdown
Contributor Author

What's wrong with this:
Forgind@13ae999
?

As far as I know, the unique name is based on the project name, not the file name.

joseotavioq and others added 3 commits May 26, 2020 10:01
Co-authored-by: Nirmal Guru <Nirmal4G@gmail.com>
Co-authored-by: Nirmal Guru <Nirmal4G@gmail.com>

@rainersigwald rainersigwald left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @joseotavioq! This is looking pretty good. Would you like to mark it ready for review?

Comment thread src/Build.UnitTests/Construction/SolutionFile_Tests.cs Outdated
Comment thread src/Build.UnitTests/Construction/SolutionFile_Tests.cs Outdated
Comment thread src/Build/Construction/Solution/ProjectInSolution.cs Outdated
Comment thread src/Build/Construction/Solution/ProjectInSolution.cs
@joseotavioq
joseotavioq marked this pull request as ready for review July 24, 2020 20:33

@Forgind Forgind left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this works—just one part I wasn't sure of.

Comment thread src/Build.UnitTests/Construction/SolutionFile_Tests.cs Outdated
Comment thread src/Build/Construction/Solution/SolutionFile.cs
Comment thread src/Build/Construction/Solution/SolutionFile.cs Outdated
Comment thread src/Build/Construction/Solution/SolutionFile.cs Outdated
Comment thread src/Build/Construction/Solution/SolutionFile.cs Outdated
Comment thread src/Build/Construction/Solution/SolutionFile.cs Outdated
Comment thread src/Build/Construction/Solution/SolutionFile.cs
joseotavioq and others added 4 commits August 12, 2020 19:02
Changing comments

Co-authored-by: Forgind <Forgind@users.noreply.github.com>
Co-authored-by: Forgind <Forgind@users.noreply.github.com>
@Forgind
Forgind merged commit a55ce4f into dotnet:master Aug 14, 2020
@Forgind

Forgind commented Aug 14, 2020

Copy link
Copy Markdown
Contributor

Thanks for your work here!

@joseotavioq
joseotavioq deleted the fix_sln_parser_proj_similar_names branch August 17, 2020 22:28
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.

4 participants