Bug 31534 - Error XA0000: Unexpected error
Summary: Error XA0000: Unexpected error
Status: RESOLVED NORESPONSE
Alias: None
Product: Android
Classification: Xamarin
Component: MSBuild ()
Version: 5.2
Hardware: PC Windows
: Normal normal
Target Milestone: ---
Assignee: Jonathan Pryor
URL:
Depends on:
Blocks:
 
Reported: 2015-07-01 09:30 UTC by Herbert Lin
Modified: 2017-08-23 21:01 UTC (History)
3 users (show)

Tags:
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 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 NORESPONSE

Description Herbert Lin 2015-07-01 09:30:27 UTC
I am experiencing an unexpected error (see details below) while compiling your SecureStore Sample App after install GOOD Dynamic SDK with Xamarin.
C:\Program Files (x86)\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets(2,2): Error XA0000: Unexpected error - Please file a bug report at http://bugzilla.xamarin.com. Reason: System.IO.PathTooLongException: Path is too long. Path: C:\Users\LinHe\Documents\PAREXEL Projects\Mobile Device\Xamarin\Good Dynamics Bindings for Xamarin\Good Dynamics Bindings for Xamarin.Android\SecureStore\obj\Debug\__library_projects__\GoodDynamics.Android\library_project_imports/bin/res/crunch/drawable-hdpi/ (XA0000) (SecureStore)

Please advise.

PS.  I have also posted the error in Home > > Good Developer Network > > Developer Support > Discussions

Herbert
--
Herbert Lin
Senior Enterprirse Architect
 
PAREXEL International
Comment 1 Peter Collins 2015-07-01 10:10:07 UTC
The error you're seeing here is described briefly in the error message. What's happened is a generated resource path exceeded windows MAX_PATH (260 char) during the build:

> Reason: System.IO.PathTooLongException: Path is too long.

You can attempt to move the SecureStore sample directly to the C:\ Drive (or possibly %USERPROFILE%) to work around this.
Comment 2 Saurabh 2015-07-02 07:29:34 UTC
@Herbert, Is your problem resolved after following comment#1?
Comment 3 Cody Beyer (MSFT) 2017-08-23 21:01:47 UTC
Because we have not received a reply to our request for more information we are closing this issue. If you are still encountering this issue, please reopen the ticket with the requested information. Thanks!