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

  • SEARCH
  • Home
  • 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 4570320
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T19:20:42+00:00 2026-05-21T19:20:42+00:00

I have a file in my solution explorer that I no longer want. When

  • 0

I have a file in my solution explorer that I no longer want. When I right click on it, I see an option to “exclude” it from the project. But that still leaves it in the solution explorer. I also see an option to “delete” it. But I don’t want to do that. What I want to do is stop having my current project reference it all, but still leave it in existence on disk. How do I do that?

I’ve tried the edit menu with it selected. Same thing. I can exclude or delete, but can’t remove.

Its location on disk is not in the directory tree underneath the project directory.

EDIT: Apparently it was on the disk twice, once in the directory and hidden, which is why I kept seeing it.

  • 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-21T19:20:43+00:00Added an answer on May 21, 2026 at 7:20 pm

    “Exclude from project” is the right option for your situation. You still see it in the Solution Explorer because you probably have the option to see all files in the file system turned on. That doesn’t mean that the file is part of the solution.

    If you don’t want to see it anymore, either move it to another folder outside of the solution folder or disable the option to see all files.

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

Sidebar

Related Questions

I have a number of projects in a solution file that have unit tests
I have referenced a config file that is located in a solution folder. I
In the filesystem I have /file.aspx /directory/default.aspx I want to configure IIS so that
I have an image in my project. In Solution Explorer, I've created a folder
I have problem with copying sdf file to WM emulator. My solution structure MyApp.DataLayer
I have a variable in code that can have file path or url as
I am creating C# application that uses OCX component. I have this component from
EDIT See my solution below /EDIT I have a Visual Studio solution with two
My project has both client and server components in the same solution file. I
In Visual Studio 2008, I can see all my project files in my Solution

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.