Bug 32553 - Xbuild task fails via Team City due to Error executing task CopyMdbFiles: Path is empty
Summary: Xbuild task fails via Team City due to Error executing task CopyMdbFiles: Pat...
Status: RESOLVED INVALID
Alias: None
Product: Android
Classification: Xamarin
Component: General ()
Version: unspecified
Hardware: PC Mac OS
: --- normal
Target Milestone: ---
Assignee: dean.ellis
URL:
Depends on:
Blocks:
 
Reported: 2015-07-28 22:45 UTC by Cody Beyer (MSFT)
Modified: 2015-07-29 15:23 UTC (History)
1 user (show)

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


Attachments
Targets (35.64 KB, application/zip)
2015-07-28 22:45 UTC, Cody Beyer (MSFT)
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 INVALID

Description Cody Beyer (MSFT) 2015-07-28 22:45:09 UTC
Created attachment 12260 [details]
Targets

### Description

Using Team City, the build will fail due to 

Error executing task CopyMdbFiles: Path is empty unless that task is removed

If the CopyMdbFiles task is removed, the build works. The difference is visible in the attached files:

1. On line 333 of the original file, I removed the reference to _CopyMdbFiles from the target _StripEmbeddedLibraries.

2. On line 1274, I commented out the _CopyMdbFiles target.


### Error

>[13:24:23] Errors:
>[13:24:23] /usr/bin/teamcity/work/1f5e88dd802c7015/BSTPortable/Source/Client/BST.Mobile.Client.Android/BST.Mobile.Client.Android.csproj (SignAndroidPackage) ->
>[13:24:23] /Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets (_CopyMdbFiles target) ->
>[13:24:23] /Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets: error : Error executing task CopyMdbFiles: Path is empty

### Xamarin.Android.Targets files

Attached
Comment 1 Cody Beyer (MSFT) 2015-07-28 22:45:42 UTC
entering diff
Comment 2 Jonathan Pryor 2015-07-29 15:23:01 UTC
Possibly related to Bug #32554?