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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T17:03:15+00:00 2026-06-05T17:03:15+00:00

Sometimes when using Visual Studio it displays a prompt with a filename: This file

  • 0

Sometimes when using Visual Studio it displays a prompt with a filename:

This file has been modified outside the source
Do you want to reload it?

However I don’t have that file open in Visual Studio. In my case, the files I was being prompted for were temporary debug files that only existed during my build unless I was compiling in a debug mode.

How do I stop Visual Studio prompting me for files I do not have open?

  • 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-05T17:03:16+00:00Added an answer on June 5, 2026 at 5:03 pm

    There are two cases where this can occur, and one way to disable the behaviour totally.

    The trickiest I’ve found is if you have breakpoints set in code files that you don’t have open or don’t exist or exist only temporarily. Visual Studio will prompt you for any changes to these files, which in my case was on every compilation as I had breakpoints in a debug file (as per my question). To fix this you can:

    • Generate the debug file, open it and remove any breakpoints in it.
    • Delete all breakpoints using Ctrl-Shift-F9 or the “Delete All Breakpoints” action under the Debug menu.

    Alternatively opening the file you are being prompted for and closing it can also resolve this issue in some cases.

    Finally, you can disable the prompting behaviour totally by unchecking the option at Tools > Options > Documents > “Detect when a file is changed outside the environment”.

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

Sidebar

Related Questions

I am using the Visual Studio 2010 RC. Sometimes when I am working on
Sometimes I do consultancy work for companies that are still using Visual Studio 2008,
We have been getting a range on infuriating error dialogs using Visual Studio 2008
I'm using Visual studio (sometimes resharper) to run my unit test. I heard about
I have been using Visual Studio 2010 linked with Microsoft Test Manager using Team
Most of my career I've been in windows environments using IntelliJ/Eclipse/Visual Studio. I've recently
I'm using Visual Studio 2008 Express, and I have this logging code: fprintf(fp,%s %s
Coming from a background using Visual Studio and Notepad++ I'm used to the indent
I am using Visual Studio 2008 SP1 with .NET Framework sp1. I am not
My website has several nested folders and sometimes long file names, so sometimes only

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.