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.
Resolution
Update information
The update that resolves this issue is available from the following Microsoft Download Center website:Download the package now. For more information about how to download Microsoft support files, click the following article number to view the article in the Microsoft Knowledge Base:
119591 How to obtain Microsoft support files from online services Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help prevent any unauthorized changes to the file.
Prerequisites
To apply this update, you must have Visual Studio 2010 SP1 installed.
Restart requirement
You have to restart the computer after you apply this update if Visual Studio is running.
File information
The global version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.
File name |
File version |
File size |
Date |
Time |
Platform |
---|---|---|---|---|---|
Microsoft.visualstudio.design.dll |
10.0.40219.333 |
722,296 |
16-Jul-2011 |
00:22 |
x86 |
Workaround
To work around this issue, delete the Visual Studio Solution User Options file for the solution.
To do this, follow these steps:-
In Microsoft Windows Explorer, locate the folder that contains the solution files.
-
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.
-
Breakpoints
-
Bookmarks
-
Other user settings
-
-
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.