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 9256529
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T11:57:55+00:00 2026-06-18T11:57:55+00:00

Set-up: Windows 7, Visual Studio 2010 (with TFS2010*), Excel 2007 Full/2010 Starter Reproduction steps:

  • 0

Set-up: Windows 7, Visual Studio 2010 (with TFS2010*), Excel 2007 Full/2010 Starter

Reproduction steps:

  1. In an empty Visual Studio, click on File -> New Project -> Blank Solution, note the solution directory and click on OK
  2. Open Excel and create a new Excel file, save it in the new Solution directory, then close Excel
  3. Right-click on the new Solution in Solution Explorer -> Add -> Existing Item
  4. Select the Excel file, and once added to the solution, it should automatically open in Excel (if it doesn’t, then open it manually)
  5. Save the Excel file
  6. The file disappears from Solution Explorer

Does anyone know how to stop this from happening?

** I don’t think TFS has anything to do with the situation, but I’ve added it for completeness

  • 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-06-18T11:57:56+00:00Added an answer on June 18, 2026 at 11:57 am

    IMO this is a bug in Visual Studio. I have witnessed this many times. Solutions items seem to vanish periodically, and it seems to be triggered by modifying a Solution file outside of VS. Many times I have copied over a file with a newer version, and perhaps because the file is momentarily deleted and then recreated by the copy, VS detects the short-lived deletion and thinks it should be removed from the solution. (By momentarialy I mean perhaps a ms.)

    When using TFS, oftentimes when I go to check in something, I’ll notice the solution file is checked out, even if I didn’t edit it, and when I compare the sln file I realize VS thought a solution file was deleted, so I have to undo the checkout of the sln file. In fact, this has bit me in the butt so many times that now anytime I am checking in the sln file I compare it just to make sure VS didn’t try to slip one past me.
    (And I’ve also spent quite a few hours of my life fixing accidental checkins of the sln file by other team members due to this issue.)

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

Sidebar

Related Questions

Situation: I have set up an Windows Azure webrole in visual studio 2010 to
C#, Visual studio 2010, Windows 7 When you set the image to WPF control
I have Visual studio 2010 Premium installed on Windows 7. When I try to
Taken from Exercise 1: Creating Windows Phone Applications with Microsoft Visual Studio 2010 Express
I have created a form in Visual Studio 2010 and set its size property
I'm writing a Windows Forms app in C#, using Visual Studio 2010. It has
Using a chart control on a windows form in C#, with visual studio 2010
I am using c# in Windows Visual Studio 2010. I had to remove several
I'm trying to set up a new Windows Forms Application (C++/CLI) in Visual Studio
How can I set Windows (or Visual Studio, or my application) so that when

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.