Bug 22012 - MT1009: Could not copy the assembly...Access to Path Denied
Summary: MT1009: Could not copy the assembly...Access to Path Denied
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: General ()
Version: 3.3
Hardware: PC Mac OS
: Normal normal
Target Milestone: ---
Assignee: Mohit Kheterpal
Depends on:
Reported: 2014-08-11 14:32 UTC by John Miller [MSFT]
Modified: 2015-09-29 17:18 UTC (History)
4 users (show)

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

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:

Description John Miller [MSFT] 2014-08-11 14:32:47 UTC

   After updated to 3.3.47, users are getting the following error messages:

> error MT1009: Could not copy the assembly '/Developer/MonoTouch/usr/lib/mono/2.1/monotouch.dll' to '/Users/{USER NAME}/Library/Caches/Xamarin/mtbs/builds/{PROJECT NAME}/{PROJECT GUID}/output/temp/mtouch-cache/Link/monotouch.dll':
> Access to the path "/Developer/MonoTouch/usr/lib/mono/2.1/monotouch.dll.mdb" or "/Users/{USER NAME}/Library/Caches/Xamarin/mtbs/builds/{PROJECT NAME}/{PROJECT GUID}/output/temp/mtouch-cache/Link/monotouch.dll.mdb" is denied.

**Steps to Reproduce:**


**Actual Results:**

   The above exception message. Project is not able to be compiled.

**Expected Results:**

   Project should still be able to be compiled after updating.

**Build Date & Platform:**

   XVS 3.3.47
Comment 2 Kent Green [MSFT] 2014-08-18 14:48:00 UTC
MT1009 is a known issue, and we have a knowledge base article on the issue that should hopefully resolve it here: http://kb.xamarin.com/customer/portal/articles/1649499-error-mt1009-could-not-copy-the-assembly
Comment 3 Mohit Kheterpal 2014-10-31 07:28:40 UTC
As per comment 2, this issue is confirmed.

Hence marking it as confirmed.