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

Swapping the loaded state on projects while using a solution filter (.slnf) will sometimes hide the loaded project. #4

Closed
Swepps opened this issue Jul 24, 2023 · 3 comments

Comments

@Swepps
Copy link

Swepps commented Jul 24, 2023

To replicate:

  • Begin with a multi-project solution and create a solution filter for it by right-clicking the solution and clicking 'Save As Solution Filter'
    image

  • Open the solution filter in Visual Studio and unload all but the first project. (Note, this happens in other cases as well but this is the simplest method I could think of to reproduce the issue)
    image

  • Now filter the projects again, unloading the first project and loading in the second.
    image

  • Notice how the newly loaded project has been hidden.
    image

  • It can be shown again using 'Unhide Folders' from the context menu.
    image

As far as I can tell, this only happens when using the Solution filter files. I think they might still be a bit buggy but perhaps you can find a way around this? It's not a major issue, but I do change my loaded project pretty frequently so it would be nice to not have to do 'Unhide folders' each time.

@reduckted
Copy link
Owner

Awesome, thanks for the reproduction steps. I'm able to reproduce it. I'll see if I can work out what's going wrong.

@reduckted
Copy link
Owner

I think I've fixed this in v2.4.1. It should be available on the marketplace shortly.

If you do continue to encounter this bug, then by all means reopen this issue and I'll take another stab at it!

@Swepps
Copy link
Author

Swepps commented Aug 14, 2023

Works like a charm. Thank you very much for fixing that!

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

2 participants