Bug 41095 - __library_projects__ is not created and DotNetZip-ewrwre.tmp is missing
Summary: __library_projects__ is not created and DotNetZip-ewrwre.tmp is missing
Status: RESOLVED FIXED
Alias: None
Product: Android
Classification: Xamarin
Component: MSBuild ()
Version: unspecified
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Jonathan Pryor
URL:
Depends on:
Blocks:
 
Reported: 2016-05-16 04:34 UTC by makubex_88
Modified: 2016-05-18 02:26 UTC (History)
1 user (show)

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


Attachments
Log file from Output (1.07 MB, text/plain)
2016-05-16 04:34 UTC, makubex_88
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 or GitHub 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 makubex_88 2016-05-16 04:34:43 UTC
Created attachment 16006 [details]
Log file from Output

Hi Everyone,

I am building a project from a Cross-platform Mobile template in Xamarin Android and I encounter the following bug:
Severity	Code	Description	Project	File	Line	Suppression State
Error		Unexpected error - Please file a bug report at http://bugzilla.xamarin.com. Reason: System.UnauthorizedAccessException: Access to the path "C:\Users\jeric\Documents\Visual Studio 2015\Projects\Tutorial\DevConStart\DevConStart\DevConStart.Droid\obj\Debug\__library_projects__\" is denied.	DevConStart.Droid	C:\Program Files (x86)\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets	974	

Also if I manually created the __library_projects__ folder, it successfully build but when I deployed it I encounter error in creating APK with saying DotNetZip-ewqewq.tmp access denied.

I attached a log file for my building trace.

Kindly post your comment for your solution or if you experience it.

Thank you.
Comment 1 Jonathan Pryor 2016-05-16 19:35:18 UTC
How did you get the `Tutorial\DevConStart\DevConStart\DevConStart.Droid` directory? Was it part of a .zip file that you extracted?

My *guess* is that it part of a .zip file of some sort, which contained obj\Debug, with permissions that prevent you from writing into it. I would suggest completely removing the `obj` and `bin` directories, then see if the build continues to fail.

As for the `DotNetZip-ewqewq.tmp` message, can you provide more information?
Comment 2 makubex_88 2016-05-18 02:26:47 UTC
This is resolved now, I just mapped my project and SDK to other path with out space and special character. Thank you for assistance.