"File Modified Outside Source Editor" warning message

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Carl Owenby

    #1

    "File Modified Outside Source Editor" warning message

    Re: Microsoft Knowledge Base Article - 174942

    "File Modified Outside Source Editor" Warning Message

    I believe I have discovered a cause of this warning in a
    specific situation. I encountered this message while
    using Microsoft Visual C++ .NET. The message box appears
    after the "Build Solution" command is complete, following
    editing of a source file using the native .NET editor.

    In this case, the project and source files were stored on
    a network file server. A tape backup job was running at
    the time on the file server when I encountered the
    warning. I moved the project and source files to the
    local hard drive on the workstation and didn't get the
    error message. I moved the project and source files back
    to the file server after the tape backup job completed and
    didn't get the warning then either.

    Under Microsoft Visual C++ .NET, the window title is
    Microsoft Development Environment. The window displays
    the full path file name followed by the following message:
    This file has been modified outside of the source editor.
    Do you want to reload it?
    The command buttons are: Yes, Yes to All, No, No to All.

    The bottom line is that Visual Studio .NET may erroneously
    detect that a file has been modified outside of the source
    editor, in situations when there is a delay between the
    time the file is saved and when it is actually written to
    the network drive.

    Carl Owenby

Working...