Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6918391
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T09:51:10+00:00 2026-05-27T09:51:10+00:00

MS Visual Studio has Solution Explorer where I can see all project files, I

  • 0

MS Visual Studio has Solution Explorer where I can see all project files, I can also create filters which are like folders for files to keep them in groups. The problem is – I want my files divided in groups both in Visual and physically on my disk. But I don’t want to have to apply each change twice both in Visual and on my disk. Is there any way to show actual folders, in which I keep my files on disk, in Visual Solution Explorer (and no – “Show all files” doesn’t do that, I’ve just checked)?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T09:51:11+00:00Added an answer on May 27, 2026 at 9:51 am

    No – SE and the Filing System hold independent copies of the structure/hierachy information.

    I usually disable the filters and put files where I want them, so that the two structures remain in sync by default (indeed, any other way seems like madness if you want to have any kind of organisation of source code – I always group files for components inot separate folders).

    Then (with filters disabled)…

    If you create the folders in Solution Explorer, and use the context menu from that folder to “Add new item…” or “Add existing item” then the disk structure will reflect the solution explorer (existing items are copied rather than referenced from where they currently reside to ensure this, which can result in old copies of files being left around your project if you add to the wrong SE folder). Otherwise it is usually only if you “add as link” that VS will put an item in a different folder in the SE than it appears on disk.

    To tidy things up, the easiest approaches are (after making a backup copy just in case):

    • Open the solution and file explorers and manually “diff” them. Any files that are “wrong” should be removed from SE, moved to the correct disk location, and then added to SE by using the context menu for the correct SE folder.
    • If there aren’t too many folders, a simpler approach is to just remove all files from solution explorer and then add them (one folder at a time) back into the project, ensuring that you create the correct folder names as you go, and add from each folder’s context menu. By rebuilding the SE from scratch you can fairly quickly sync the two layouts, and this can often be easier than trying to work out where the differences lie.

    Once they’re in sync, only use the SE to manage the files, and be careful to add items using the context menu from the correct folder. If you move things about on disk, you’ll break the links.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a solution in Visual Studio 2008 which has multiple projects. One of
I have a visual studio 2005 solution which has a web application and a
I have a solution in Visual Studio 2005(professional Edition) which in turn has 8
My Visual Studio solution has several late-bound projects (dll) which are loaded by other
I have this Visual Studio solution that includes a project that has a template
in a Visual Studio Extension Package I want to create a ToolWindow (like Solution
Somehow Visual Studio search has stopped working for me. Anytime I search Entire Solution
I am building a C# solution in Visual Studio 2008 that has several projects
Visual Studio has ways to automatically create a method. For example, you could double
I realize that Visual Studio has the /P option to generate preprocessed files, but

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.