Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
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
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.
System.IO.DirectoryNotFoundException: Could not find a part of the path "C:\Users\Patrick\Downloads\XamarinActionBarSherlock-184.108.40.206\XamarinActionBarSherlock-220.127.116.11\samples\ActionBarSherlock\ActionBarSherlockTest\obj\Debug\__library_projects__\ActionBarSherlock\library_project_imports\res\color\abs__primary_text_disable_only_holo_dark.xml" ActionbarsherlockTest
This issue has been reproduced, steps are :
1. Download sample application 'XamarinActionBarSherlock-18.104.22.168'.
2. Open the application in Xamarin studio.
3. Build it.
An error is occurred.
Reason of Error : This is long path issue. Length of file path is 265 characters which does not allow to build the application. I have copied this application at another location whose path length is of 240 characters then this issue is not occurred.
Supplement Info :
Environment Info :
Version 4.2.3 (build 60)
Installation UUID: 400bab6b-f5cd-4e84-a1d1-39f9d6414cb1
Microsoft .NET 4.0.30319.18449
GTK+ 2.24.22 theme: MS-Windows
Version: 4.12.2 (Trial Edition)
Android SDK: E:\SDK\AndroidSDK
Supported Android versions:
1.6 (API level 4)
2.1 (API level 7)
2.2 (API level 8)
2.3 (API level 10)
3.1 (API level 12)
3.2 (API level 13)
4.0 (API level 14)
4.0.3 (API level 15)
4.1 (API level 16)
4.2 (API level 17)
4.3 (API level 18)
4.4 (API level 19)
Java SDK: C:\Program Files (x86)\Java\jdk1.6.0_31
java version "1.6.0_31"
Java(TM) SE Runtime Environment (build 1.6.0_31-b05)
Java HotSpot(TM) Client VM (build 20.6-b01, mixed mode, sharing)
Release ID: 402030060
Build date: 2014-03-05 16:53:54Z
Xamarin addins: f8a9589b57c2bfab2ccd73c880e7ad81e3ecf044
Windows 6.2.9200.0 (64-bit)
Windows has a limit on the length of file paths, so unfortunately there's not much we can do.
I would recommend either renaming your folders the shorten the length of the path, or to move the project to a location with a shorter path.