Bug 41800 - Cycle 7 Could not find a part of the path warning
Summary: Cycle 7 Could not find a part of the path warning
Status: VERIFIED FIXED
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: iOS ()
Version: 4.1.0 (C7)
Hardware: PC Mac OS
: --- normal
Target Milestone: 4.1.2 (C7SR1)
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2016-06-14 13:54 UTC by John Miller [MSFT]
Modified: 2016-07-13 17:11 UTC (History)
9 users (show)

Tags: BZRC7S1_C6SR4S1, DefectEscapeReview_Done
Is this bug a regression?: Yes
Last known good build: 4.0.4.4

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:
Status:
VERIFIED FIXED

Description John Miller [MSFT] 2016-06-14 13:54:20 UTC
**Overview:**

   After updating to Cycle 7, there is a warning message building an iOS project. Example:

> Could not find a part of the path 'C:\App11\App11\obj\iPhone\Debug\ipa\Payload\App11.app\

This appears to related with copying the .app bundle back to the Windows machine: 

// Xamarin.iOS.Common.targets
<!-- Clone the compiled app bundle into the IPA's Payload directory... -->
        <Ditto
            SessionId="$(BuildSessionId)"
            Condition="'$(MtouchTargetsEnabled)'"
            ToolExe="$(DittoExe)"
            ToolPath="$(DittoPath)"
            Source="$(AppBundleDir)"
            Destination="$(_IpaAppBundleDir)"
        />

**Steps to Reproduce:**

   1. Create a new iOS Single View project in VS
   2. Open the Project -> Properties and check the Builde IPA package in the iOS IPA Options menu
   3. Make sure it's connected to a Mac agent
   4. Build the project for a iPhone configuration

**Actual Results:**

   There is a warning message in the Errors panel.

**Expected Results:**

   No warning message.
   The path in the warning does exist, so I am not sure which part is not valid. However, the .app directory is empty in that path.

**Build Date & Platform:**

   Cycle 7
   VS 2015 Update 2

**Additional Information:**

   The .app does appear to be copied to the Windows machine successfully.
Comment 2 xamarin-release-manager 2016-06-23 15:24:13 UTC
Fixed in version 4.1.0.550 (cycle7)

Author: Jose Gallardo
Commit: 84e8d93bdc3d9998d0ce973cb943dfa3e6ea9c2b (xamarin/XamarinVS)
Comment 3 Mohit Kheterpal 2016-07-01 05:57:11 UTC
I have checked this issue and observed that this issue has been fixed with the Cycle 7 build of XVS i.w. 4.1.0.550 Commit : 84e8d93bdc3d9998d0ce973cb943dfa3e6ea9c2b

Screencast : http://screencast.com/t/S5IhjOb75fAn

Thanks