Bug 37115 - [C6SR1 Alpha] "The "SayGoodbye" task failed unexpectedly." when attempting to build any iOS bindings project
Summary: [C6SR1 Alpha] "The "SayGoodbye" task failed unexpectedly." when attempting to...
Status: VERIFIED FIXED
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: iOS ()
Version: 4.0.0 (C6)
Hardware: PC Windows
: --- major
Target Milestone: 4.0.1 (C6SR1)
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2015-12-17 02:54 UTC by Brendan Zagaeski (Xamarin Team, assistant)
Modified: 2015-12-18 08:23 UTC (History)
4 users (show)

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


Attachments
Test case (7.54 KB, application/zip)
2015-12-17 02:54 UTC, Brendan Zagaeski (Xamarin Team, assistant)
Details
Log files and version info (67.85 KB, application/zip)
2015-12-17 02:54 UTC, Brendan Zagaeski (Xamarin Team, assistant)
Details
Example build output for alternate "'ApiDefinition' could not be found" error (16.32 KB, application/zip)
2015-12-17 03:12 UTC, Brendan Zagaeski (Xamarin Team, assistant)
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 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 Brendan Zagaeski (Xamarin Team, assistant) 2015-12-17 02:54:08 UTC
Created attachment 14334 [details]
Test case

[C6SR1 Alpha] "The type or namespace name 'ApiDefinition' could not be found in the global namespace" when attempting to build any iOS bindings project




## Regression status: regression between C6SR0 and C6SR1

BAD:  XamarinVS 4.0.1.37   (019d80f) + Xamarin.iOS 9.4.1.0  (dab1554)
GOOD: XamarinVS 4.0.0.1717 (1390b70) + Xamarin.iOS 9.4.0.0  (7322991)
GOOD: XamarinVS 4.0.0.1697 (deffc90) + Xamarin.iOS 9.2.1.54 (eb4c1ef)




## Steps to replicate

Attempt to build the attached test case in Visual Studio while connected to the Mac build host.




## Results

The build fails because the "SayGoodbye" task fails unexpectedly.

### Top of the error message from the diagnostic MSBuild output

> The "SayGoodbye" task failed unexpectedly.
> System.ArgumentNullException: Value cannot be null.
> Parameter name: path2
>    at System.IO.Path.Combine(String path1, String path2)
>    at Xamarin.Messaging.Build.PlatformPath.GetBuildPath(String home, String appName, String sessionId, String path) in C:\Users\builder\data\lanes\2102\019d80fb\source\XamarinVS\src\Messaging\Xamarin.Messaging.Build.Common\PlatformPath.cs:line 65
Comment 1 Brendan Zagaeski (Xamarin Team, assistant) 2015-12-17 02:54:35 UTC
Created attachment 14335 [details]
Log files and version info
Comment 5 Brendan Zagaeski (Xamarin Team, assistant) 2015-12-17 03:12:18 UTC
Created attachment 14336 [details]
Example build output for alternate "'ApiDefinition' could not be found" error

## Alternate results

On some attempts to rebuild the test case I get a different error:

> The type or namespace name 'ApiDefinition' could not be found in the global namespace (are you missing an assembly reference?)
Comment 7 Arpit Jha 2015-12-17 08:48:23 UTC
*********************************************************************************
Reproduce Status: Reproduced
********************************************************************************
I have checked this issue with XVS 4.0.1.51 (889e86b) + XI 9.4.1.1  Hash: ff5c5c6  and able to reproduce this issue with the help of Bug description.

Steps I have followed :

Create Xamarin.IOS binding library and build the application observed that getting build error mentioned in bug description.
Error: https://gist.github.com/Parmendrak/7f4de57c7cde6d3436fd

When I run attached project in bug description and on building the application getting build error mentioned in comment 5

Build Output: https://gist.github.com/Arpit360/5652c899e8362cacdca2

Screencast: http://www.screencast.com/t/WBepYOrc

Environment Info:
https://gist.github.com/Parmendrak/ffa4f4409cf3e41a90d3



*******************************************************************************
Verify Status: Verified
*******************************************************************************

I have checked this issue with  XVS 4.0.1.68 (96e2025) + XI 9.4.1.1  Hash: ff5c5c6 and its working fine and observed that
both attached project and iOS binding library template project build successfully.

Screencast: http://www.screencast.com/t/gWuJAMT7Hc

Environment Info:
https://gist.github.com/Parmendrak/61e1ba76fc164ac10d17


As per target milestone, I ll verify this issue Once fixed  will merge in C6SR!
Comment 8 Arpit Jha 2015-12-18 08:23:54 UTC
I have checked this issue with latest C6SR1 XVS 4.0.1.60 (7082690) and its working fine.

Screencast : http://www.screencast.com/t/JrTts4SLEyT

Build output: https://gist.github.com/Parmendrak/a929d434163596abf97c

Environment Info:https://gist.github.com/Parmendrak/8bd8d91386c90c178042

Hence closing this issue