Bug 22663 - Imposible to build project with app extension second time
Summary: Imposible to build project with app extension second time
Status: VERIFIED FIXED
Alias: None
Product: iOS
Classification: Xamarin
Component: MSBuild ()
Version: 7.9.2.x
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: 8.0.0 (iOS 8)
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2014-09-04 17:45 UTC by Rustam Zaitov
Modified: 2014-09-05 07:52 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:
VERIFIED FIXED

Description Rustam Zaitov 2014-09-04 17:45:07 UTC
XS: Version 5.4 (build 196)
Xamarin.iOS: 7.9.4.29

sample:
repo - monotouch-samples
branch - master
path - ios8/ImageInverter


1. Set target to device
2. run Build (builds fine)
3. stop application
4. try to run again (fails)

I got the compilation error:
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets: Error: System.IO.FileNotFoundException: Could not find file "/Users/rzaitov/Documents/Apps/A_Xamarin/monotouch-samples/ios8/ImageInverter/ImageInverterExt/bin/iPhone/Debug/com.your-company.ImageInverter.ImageInverterExt.appex/.monotouch-32".
File name: '/Users/rzaitov/Documents/Apps/A_Xamarin/monotouch-samples/ios8/ImageInverter/ImageInverterExt/bin/iPhone/Debug/com.your-company.ImageInverter.ImageInverterExt.appex/.monotouch-32'
  at System.IO.FileInfo.get_Length () [0x00000] in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) System.IO.FileInfo:get_Length ()
  at Xamarin.MacDev.Tasks.RecursiveCopyTaskBase.FileChanged (System.String source, System.String target) [0x00000] in <filename unknown>:0 
  at Xamarin.MacDev.Tasks.RecursiveCopyTaskBase.RecursiveCopy (System.String source, System.String destination) [0x00000] in <filename unknown>:0 
  at Xamarin.MacDev.Tasks.RecursiveCopyTaskBase.RecursiveCopy (System.String source, System.String destination) [0x00000] in <filename unknown>:0 
  at Xamarin.MacDev.Tasks.RecursiveCopyTaskBase.Execute () [0x00000] in <filename unknown>:0  (ImageInverter)

Full build log:
https://gist.github.com/rzaitov/5d0fb19a5a198c1e8e47

If I run "Clean", then next build will be ok.
Comment 1 Jeffrey Stedfast 2014-09-04 18:31:29 UTC
Fixed in monotouch commit fe4384d697145e90552a049d70cb2b634465fcf0
Comment 2 Rolf Bjarne Kvinge [MSFT] 2014-09-04 18:44:51 UTC
*** Bug 22582 has been marked as a duplicate of this bug. ***
Comment 3 Rustam Zaitov 2014-09-05 07:52:26 UTC
With new build all is ok.
Because of this I am closing issue.