Skip to content

Closing multiple instances simultaneously cause IOException with FolderExpansion.xml #57

Description

@AlexEyler

Repro:

  1. Launch multiple instances (at least 3) of VS 2017 (with VS-Macros installed).
  2. Open solutions in each VS.
  3. Right click on the VS icon on the taskbar and select "Close all windows".
    Expected:
    All windows close
    Actual:
    At least one instances gets the following error:
---------------------------
Microsoft Visual Studio
---------------------------
The process cannot access the file 'C:\Users\{username}\AppData\Local\Microsoft\VisualStudio\15.0_80f42237\FolderExpansion.xml' because it is being used by another process.
---------------------------
OK   
---------------------------

It looks like this file is created/used by the VS-Macros extension.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions