Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Item nested under wrong parent when the extension rule is enabled #94

Open
icnocop opened this issue Oct 18, 2019 · 0 comments
Open

Item nested under wrong parent when the extension rule is enabled #94

icnocop opened this issue Oct 18, 2019 · 0 comments

Comments

@icnocop
Copy link

icnocop commented Oct 18, 2019

Installed product versions

  • Visual Studio 2017 Enterprise 15.9.17
  • This extension: 2.6.85

Description

When trying to nest a file with the same name as existing files in the solution but in different folders, the item is nested under the wrong parent.

Steps to recreate

  1. Download and extract
    ClassLibrary1.zip
  2. Open ClassLibrary1.sln in Visual Studio 2017
  3. Right-click "ClassLibrary1" in "Solution Explorer" and select File Nesting > Enable automatic nesting.
  4. Set Tools > Options... > File Nesting > Nesting Rules > Enable extension rule > True
  5. Click on "Show All Files" in "Solution Explorer"
  6. Right-click "Folder1\Feature1.feature.cs" > Include In Project
  7. Right-click "Folder2\Feature1.feature.cs" > Include In Project

Current behavior

"Folder2\Feature1.feature.cs" is nested under "Folder1\Feature1.feature"

Expected behavior

I expected "Folder2\Feature1.feature.cs" to be nested under "Folder2\Feature1.feature"

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

No branches or pull requests

1 participant