Bug 31490 - something catch mdb files ,so VS can't copy them.
Summary: something catch mdb files ,so VS can't copy them.
Status: RESOLVED FIXED
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: Debugger ()
Version: 3.11 (C5)
Hardware: PC Windows
: Normal normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2015-06-30 02:16 UTC by Masahiko Miyasaka
Modified: 2016-12-22 22:30 UTC (History)
4 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:


Attachments
log files zipped after problem happened (43.58 KB, application/x-zip-compressed)
2016-04-12 12:38 UTC, Masahiko Miyasaka
Details


Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description Masahiko Miyasaka 2015-06-30 02:16:18 UTC
These errors happens so many times in my environment.
My projects includes C# iOS App project and F# PCL library project. "TAC.Model.dll" is F# PCL's one.
If this happens, I have to restart VS. It's so bothersome.

--------------------------------
Error	12	Could not copy "C:\MyDocuments\cvs\tfs-git2\Source\Lib\TAC.Model.dll.mdb" to "bin\iPhoneSimulator\Debug\TAC.Model.dll.mdb". Exceeded retry count of 10. Failed.	AppIOS

Error	13	Unable to copy file "C:\MyDocuments\cvs\tfs-git2\Source\Lib\TAC.Model.dll.mdb" to "bin\iPhoneSimulator\Debug\TAC.Model.dll.mdb". The process cannot access the file 'bin\iPhoneSimulator\Debug\TAC.Model.dll.mdb' because it is being used by another process.	AppIOS
Comment 1 Danish Akhtar 2015-07-02 06:42:08 UTC
Hi Masahiko,

I have tried to reproduce this issue after creating C# iOS App project and F# library project in VS, but unable to reproduce it.

Could you please provide us your project and Xamarin builds info which you are using via VS->Help->About VS->Copy info ? So that we can try to reproduce this issue at our end.

You can also provide VS logs via VS Help->Xamarin->Zip Xamarin logs.


Thanks
Comment 2 Masahiko Miyasaka 2016-04-12 12:38:10 UTC
Created attachment 15679 [details]
log files zipped after problem happened

log files zipped after the problem happened like below.
1>C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(3963,5): error MSB3027: Could not copy "d:\xxx\bin\Debug\AppCommon.dll" to "bin\Debug\AppCommon.dll". Exceeded retry count of 10. Failed.
1>C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(3963,5): error MSB3021: Unable to copy file "d:\xxx\bin\Debug\AppCommon.dll" to "bin\Debug\AppCommon.dll". The process cannot access the file 'bin\Debug\AppCommon.dll' because it is being used by another process.
Comment 3 Masahiko Miyasaka 2016-04-12 12:39:46 UTC
and info from help.

Microsoft Visual Studio Enterprise 2015
Version 14.0.25123.00 Update 2
Microsoft .NET Framework
Version 4.6.01038

Installed Version: Enterprise

Architecture and Modeling Tools   00322-80000-00000-AA128
Microsoft 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 Visual Studio 2015   00322-80000-00000-AA128
Microsoft LightSwitch for Visual Studio 2015

Visual Basic 2015   00322-80000-00000-AA128
Microsoft Visual Basic 2015

Visual C# 2015   00322-80000-00000-AA128
Microsoft Visual C# 2015

Visual C++ 2015   00322-80000-00000-AA128
Microsoft Visual C++ 2015

Visual F# 2015   00322-80000-00000-AA128
Microsoft Visual F# 2015

Windows Phone SDK 8.0 - ENU   00322-80000-00000-AA128
Windows Phone SDK 8.0 - ENU

Application Insights Tools for Visual Studio Package   5.2.60328.3
Application Insights Tools for Visual Studio

ASP.NET and Web Tools 2015.1 (Beta8)   14.1.11106.0
ASP.NET and Web Tools 2015.1 (Beta8)

ASP.NET Web Frameworks and Tools 2012.2   4.1.41102.0
For additional information, visit http://go.microsoft.com/fwlink/?LinkID=309563

ASP.NET Web Frameworks and Tools 2013   5.2.40314.0
For additional information, visit http://www.asp.net/

Common Azure Tools   1.7
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.

GitHub.VisualStudio   1.0
A Visual Studio Extension that brings the GitHub Flow into Visual Studio.

GorillaPlayerPackage Extension   1.0
GorillaPlayerPackage Visual Studio Extension Detailed Info

JavaScript Language Service   2.0
JavaScript Language Service

JavaScript Project System   2.0
JavaScript Project System

JetBrains ReSharper Ultimate 10.0.2   Build 104.0.20151218.120627
JetBrains ReSharper Ultimate package for Microsoft Visual Studio. For more information about ReSharper Ultimate, visit http://www.jetbrains.com/resharper. Copyright © 2016 JetBrains, Inc.

KofePackagePackage Extension   1.0
KofePackagePackage Visual Studio Extension Detailed Info

Microsoft Azure Mobile Services Tools   1.4
Microsoft Azure Mobile Services Tools

Microsoft MI-Based Debugger   1.0
Provides support for connecting Visual Studio to MI compatible debuggers

Microsoft Team Foundation Server 2015 Power Tools   14.0
Power Tools that extend the Team Foundation Server integration with Visual Studio.

Microsoft Visual Studio Process Editor   1.0
Process Editor for Microsoft Visual Studio Team Foundation Server

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

NuGet References   1.0
Save time by managing your NuGet references right from the Solution Explorer packages.config

Office Developer Tools for Visual Studio 2015 ENU   14.0.23025
Microsoft Office Developer Tools for Visual Studio 2015 ENU

OzCode   1.0
Your road to Magical Debugging. http://www.oz-code.com

PreEmptive Analytics Visualizer   1.2
Microsoft Visual Studio extension to visualize aggregated summaries from the PreEmptive Analytics product.

SQL Server Data Tools   14.0.60311.1
Microsoft SQL Server Data Tools

TypeScript   1.8.29.0
TypeScript tools for Visual Studio

Visual C++ for Cross Platform Mobile Development   1.0
Visual C++ for Cross Platform Mobile Development

Visual C++ for Cross Platform Mobile Development   1.0
Visual C++ for Cross Platform Mobile Development

Visual F# Power Tools   2.3.0
A collection of additional commands for F# in Visual Studio

Visual Studio Tools for Universal Windows Apps   14.0.25123.00
The Visual Studio Tools for Universal Windows apps allow you to build a single universal app experience that can reach every device running Windows 10: phone, tablet, PC, and more. It includes the Microsoft Windows 10 Software Development Kit.

Workflow Manager Tools 1.0   1.0
This package contains the necessary Visual Studio integration components for Workflow Manager.

Xamarin   4.0.3.214 (0dd817c)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin.Android   6.0.3.5 (a94a03b)
Visual Studio plugin to enable development for Xamarin.Android.

Xamarin.iOS   9.6.1.8 (3a25bf1)
Visual Studio extension to enable development for Xamarin.iOS.
Comment 4 Jose Gallardo 2016-12-22 22:30:21 UTC
Hi,
As we've added several improvements to our build system and deploying/debugging mechanism since the bug was reported, I'm resolving it tentatively as Fixed.
That said, if you're still facing this issue with current bits, please feel free to reopen the bug.
Thanks