Not sure if this is the right fix? We've added this issue to our memory dump diagnostic which can confirm.

This update supersedes the update to Visual Studio 2010 SP1 that was included in Microsoft Knowledge Base article 2547352. It addresses an error that was introduced by KB2547352 where users receive the following error message when building an assembly: 

Unable to copy file "[filepath].exe" to "[filepath].exe". The process cannot access the file '[filepath].exe' because it is being used by another process.



Symptoms

When you open a Microsoft Visual Studio solution in a localized version of Microsoft Visual Studio 2010 Service Pack 1 (SP1), Visual Studio might crash. Additionally, a Dr.Watson error (0xC0000005) that has the following Blamed Symbol value is generated if Visual Studio crashes:

MICROSOFT.VISUALSTUDIO.DESIGN.NI.DLL!Microsoft.VisualStudio.Design.VSTypeResolutionService.get_References.

Cause

This issue occurs because of a synchronization error in the design surface of Visual Studio 2010 SP1.

Workaround

To work around this issue, delete the Visual Studio Solution User Options file for the solution.

To do this, follow these steps:

  1. In Microsoft Windows Explorer, locate the folder that contains the solution files.

  2. Delete the MySolution.suo file.

    Notes

    • MySolution is a placeholder for the name of the solution.

    • The Visual Studio Solution User Options file has the .suo file name extension.

    • The MySolution.suo file is a hidden file.


    Important When you delete the MySolution.suo file, the following information for the solution is deleted:

    • Breakpoints

    • Bookmarks

    • Other user settings

  3. Reopen the solution in Visual Studio 2010 SP1.

Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

Need more help?

Expand your skills
Explore Training
Get new features first
Join Microsoft Insiders

Was this information helpful?

What affected your experience?

Thank you for your feedback!

×