Bug 1096 - Application output pad is shown even if upload fails
Summary: Application output pad is shown even if upload fails
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: iOS add-in ()
Version: 2.8 Beta 2
Hardware: PC Mac OS
: --- normal
Target Milestone: ---
Assignee: Alan McGovern
URL:
Depends on:
Blocks:
 
Reported: 2011-09-28 07:35 UTC by Rolf Bjarne Kvinge [MSFT]
Modified: 2011-10-04 07:16 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 FIXED

Description Rolf Bjarne Kvinge [MSFT] 2011-09-28 07:35:56 UTC
Create a MonoTouch project that won't upload to device (by setting Deployment Target in Info.plist to something > than your device for instance).
Hit Debug.

MD will compile & upload, and when upload fails, it will show the application output pad, giving the impression that the upload succeeded.
Comment 1 Mikayla Hutchinson [MSFT] 2011-09-28 07:47:30 UTC
Not sure how this happens.

I don't think the output pad should be created unless IPhoneProject.OnExecute calls base.OnExecute, resulting in DotNetProject.DoExecute calling context.ConsoleFactory.CreateConsole.
Comment 2 Alan McGovern 2011-09-28 09:24:07 UTC
Cannot reproduce with beta3/master. I think the bug is already solved. If it's still there with a newer monodevelop, can you make a screencast showing the issue?
Comment 3 Rolf Bjarne Kvinge [MSFT] 2011-09-28 17:09:16 UTC
I just tried with master, and the Application Output Pad isn't activated when the upload fails.

The Deploy to Device pad does however close, and the status bar says "Build successful" (which is true, the build did succeed, but it's counter-intuitive showing a success message when something failed).

http://screencast.com/t/XFNfWzxq

(ignore the all upload % spew, that's just my own debugging code)

I'm not sure if the Deploy to Device pad should stay up, but the status bar should at least not show a success message.
Comment 4 Alan McGovern 2011-09-28 17:36:01 UTC
Perfect! Fixing the build success message should be easy enough. I'm not sure why the deploy pad closes though, on my system it stays open. I'll take a look into that aswell and see if I can figure out why. What MonoTouch are you using?
Comment 6 Alan McGovern 2011-10-04 07:16:56 UTC
This has been fixed but unfortunately didn't quite make it in time for 2.8. It will be in 2.8.1 though.