locked
VS2012-RC: Problems with "Detect when file is changed outside the environment"

    Question

  • This setting seems totally unreliable with VS2012 RC.

    In Tools | Options | Environment | Documents:

    I have the "Detect when file is changed outside the environment" checked and "Auto-load changes, if saved" un-checked.

    Sometimes it works, sometimes I do not get the message that a file has been changed outside of VS. 

    When this happens, even closing/re-opening the file in the editor doesn't reload the updated contents. Re-building the solution also gets the up-updated contents.

    Only shutting down VS and restarting seems to sync the file to the correct contents.

    Is this a known problem and are there any work-arounds?

    Wednesday, July 18, 2012 10:16 PM

Answers

All replies

  • Hi Jay,

    have you been able to figure out steps that reliably reproduce the issue?  I have seen one bug report in the connect site that has reported a similar issue but it looks like the product group was unable to repro.  Any key details that might help us reproduce the issue e.g. network drives involved, operating system, virus checkers running, etc....

    thanks!

    mike

    Thursday, July 19, 2012 12:07 AM
    Moderator
  • Sorry, I  don't have any specific steps to reproduce this.  Typically, I use BeyondCompare to update/merge changes through SVN.  Occasionally, I use Notepad++ to edit files outside of VS2012.  Normally, I get the dialog that a file has been changed and I can accept the updated version. Once, the problem occurs, I never get the notifications until I shutdown/restart VS2012.

    My environment is vanilla Windows8 Release Preview using the default security options for firewall and Windows Defender. Here are the details from the VS2012-RC About box:

    Microsoft Visual Studio Ultimate 2012 RC
    Version 11.0.50522.1 RCREL
    Microsoft .NET Framework
    Version 4.5.50501

    Installed Version: Ultimate

    Architecture and Modeling Tools   04166-004-0009005-02983
    Architecture and Modeling Tools
       
    UML® and Unified Modeling Language™ are trademarks or registered trademarks of the Object Management Group, Inc. in the United States and other countries.

    LightSwitch for Microsoft Visual Studio 2012 RC   04166-004-0009005-02983
    LightSwitch for Microsoft Visual Studio 2012 RC

    Microsoft Office Developer Tools   04166-004-0009005-02983
    Microsoft Office Developer Tools

    Microsoft Visual Basic 2012 RC   04166-004-0009005-02983
    Microsoft Visual Basic 2012 RC

    Microsoft Visual C# 2012 RC   04166-004-0009005-02983
    Microsoft Visual C# 2012 RC

    Microsoft Visual C++ 2012 RC   04166-004-0009005-02983
    Microsoft Visual C++ 2012 RC

    Microsoft Visual F# 2012   04166-004-0009005-02983
    Microsoft Visual F# 2012

    Microsoft Visual Studio 2012 RC Code Analysis Spell Checker   04166-004-0009005-02983
    Microsoft® Visual Studio® 2012 RC Code Analysis Spell Checker

    Portions of International CorrectSpell™ spelling correction system © 1993 by Lernout & Hauspie Speech Products N.V. All rights reserved.

    The American Heritage® Dictionary of the English Language, Third Edition Copyright © 1992 Houghton Mifflin Company. Electronic version licensed from Lernout & Hauspie Speech Products N.V. All rights reserved.

    Microsoft Visual Studio 2012 SharePoint Developer Tools   04166-004-0009005-02983
    Microsoft Visual Studio 2012 SharePoint Developer Tools

    Microsoft Visual Studio 2012 Team Explorer RC   04166-004-0009005-02983
    Microsoft Visual Studio 2012 Team Explorer RC

    Microsoft Visual Web Developer 2012 RC   04166-004-0009005-02983
    Microsoft Visual Web Developer 2012 RC

    JetBrains ReSharper 7 EAP   C# Edition build 7.0.85.59 on 2012-07-08T09:36:56
    JetBrains ReSharper 7 EAP package for Microsoft Visual Studio. For more information about ReSharper, visit http://www.jetbrains.com/resharper/. Copyright © 2003–2012 JetBrains, Inc.

    Microsoft SQL Server Data Tools   11.1.20425.00
    Microsoft SQL Server Data Tools

    NuGet Package Manager   1.8.30423.9026
    NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.

    PreEmptive Analytics Visualizer   1.0
    Visual Studio 11 extension to visualize aggregated summaries from the PreEmptive Analytics product.

    Web Tooling Extensions RC   1.0
    Page Inspector: Tool that offers an efficient way to decompose Web Applications and diagnose front-end issues.
    Web Publishing: Extensions required for Web Publishing for both hosted servers as well as on premises.
    Web Form Templates: Includes the default templates for Web Form Applications.
    Editor Extensions: Includes HTML, CSS, and JS editor extensions that greatly enhance the development experience.

    Thursday, July 19, 2012 4:20 PM
  • Hi Jay,

             This is a known issue with VS & Blend in Windows 8 RP. This has been fixed in RTM


    Dev@Mic

    Tuesday, July 24, 2012 8:58 PM
  • For me this is still an issue with RTM. I am using CVS outside of VS and VS2012 does not detect if files have been changed (e.g. by a cvs update).
    Thursday, August 16, 2012 11:42 AM
  • Hey,

    Can you please get in touch with me at navits at microsoft dot com with a repro? I would like to investigate this issue and understand the root cause. Thanks for your help.

    -Navit Saxena

    Tuesday, August 21, 2012 5:00 AM
  • Hi

    Same problem here. If I modify a file with notepad++ or with a source control tool visual studio 2012 doesn't recognize that.

    VS2012 Premium
    Version 11.0.50727.1 RTMREL

    Tobias


    Tuesday, September 25, 2012 1:43 PM
  • I think it has something to do that the directory containing my files is a symlink or junction point.

    Tobias

    Monday, October 1, 2012 12:15 PM