mono / monodevelop

MonoDevelop is a cross platform .NET IDE
http://www.monodevelop.com
2.84k stars 1.02k forks source link

[Core] Avoid showing duplicated files in project tree #9309

Closed rodrmoya closed 4 years ago

rodrmoya commented 5 years ago

There are some cases where, it seems, we don't evaluate conditions as we should, resulting in duplicated items being added to the project and, thus, also shown in the project tree (see aspnet/AspNetCore#17088).

Also, by just adding a , duplicated files show also.

So, due to this limitation on the project system, work around it on the project tree, by checking for duplicates based on the files' paths.

Fixes https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1005277

rodrmoya commented 5 years ago

@monojenkins backport release-8.4

rodrmoya commented 5 years ago

@monojenkins backport release-8.4

mrward commented 4 years ago

Alternative fix here which should address the underlying problem of Conditions being ignored on the Content items - #9407

rodrmoya commented 4 years ago

Closing this one then