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

Projects in same-named solution folders are omitted #1618

Open
doxxx opened this issue Dec 18, 2024 · 0 comments
Open

Projects in same-named solution folders are omitted #1618

doxxx opened this issue Dec 18, 2024 · 0 comments

Comments

@doxxx
Copy link

doxxx commented Dec 18, 2024

- [ ] Include the log file upgrade-assistant.clef that is produced in the working directory
I cannot because the issue occurs before running the upgrade.

Describe the bug

When performing a upgrade to central package management, the Select Components To Upgrade view shows an invalid solution structure when there are multiple subfolders that have the same name, e.g. A/B/XXX and C/D/XXX. The contents of the one occurrence of that subfolder is used in all other occurrences. This is not simply a UI glitch, it actually affects the upgrade because the projects which are not shown are not upgraded.

Here's a real example. First the Solution Explorer view showing the correct folder/project structure:

Image

Notice the three subfolders named Model which each contain different projects.

Now here's the solution view in Upgrade Assistant:

Image

Notice that all three subfolders named Model have the same two projects.

To Reproduce

See above.

Further technical details

  • Windows 10 64-bit
  • dotnet SDKs:
    5.0.408 [C:\Program Files\dotnet\sdk]
    6.0.302 [C:\Program Files\dotnet\sdk]
    7.0.100 [C:\Program Files\dotnet\sdk]
    9.0.100 [C:\Program Files\dotnet\sdk]
  • Upgrade Assistant Visual Studio Extension v0.5.829.41291
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