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

Multiple Source Explorer projects in one Visual studio project #63

Open
Scotifer opened this issue May 10, 2020 · 1 comment
Open

Multiple Source Explorer projects in one Visual studio project #63

Scotifer opened this issue May 10, 2020 · 1 comment

Comments

@Scotifer
Copy link

I have the following project structure:

d:\projects\GameDev
d:\projects\GameRel
d:\projects\GameTest

Each has its own .sln and vs-chromium-project.txt. I also had vs-chromium-project.txt in d:\projects. When I started working in \GameTest I forgot to copy d:\projects\vs-chromium-project.txt to \GameTest. I then had 3 Directory/Projects indexed for \GameTest. I moved the .txt file to \GameTest and deleted it from d:\projects. I still have 2 projects in \GameTest. One for \GameDev and one for \GameTest. How do I get rid of \GameDev project being used in \GameTest? I tried hitting delete key in solution explorer but get an error.

Searches and Source Explorer show both projects and it makes it difficult to remember to not get the file from the wrong project. I'm not positive it is vs-chromium because Visual assist also shows me files from both projects.

Any help would be appreciated - best search ever in VS, thanks!

@Andy-Davidson
Copy link

Andy-Davidson commented Jun 24, 2020

I just ran into this issue, although I presume it's actually a feature. It seems to be the case that if you have a file from a second project open in the IDE vs chromium responds by indexing that whole project too. This can be undesirable when working across multiple branches as you mention, especially if you're not expecting it. It would be good to get something in the options to either toggle it or limit it to include only the files open in the ide. Ordering results to prioritise those from the primary project and/or highlighting/colouring other project results would also help.

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