Bug 23328 - Broken binding projects build successfully the second time
Summary: Broken binding projects build successfully the second time
Status: VERIFIED FIXED
Alias: None
Product: iOS
Classification: Xamarin
Component: MSBuild ()
Version: master
Hardware: PC Mac OS
: Normal normal
Target Milestone: Untriaged
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2014-09-24 08:11 UTC by Rolf Bjarne Kvinge [MSFT]
Modified: 2014-11-26 08:52 UTC (History)
4 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 Rolf Bjarne Kvinge [MSFT] 2014-09-24 08:11:13 UTC
Repro:

* Use test case from bug #23309
* Build the project. It fails to build (as expected).
* Build again. The project builds (it should fail like the first time).
Comment 1 Ram Chandra 2014-09-24 09:13:08 UTC
I have checked this issue and I am able to reproduce this issue with the help of bug description.

I observed that when I build a solution I am getting following error :

"/Users/jatin66/Downloads/MDrawerController/MDrawerController/obj/Debug/ios/MDrawerController/MMDrawerVisualState.g.cs(24,24): Error CS0246: The type or namespace name `MMDrawerControllerDrawerVisualStateHandler' could not be found. Are you missing an assembly reference? (CS0246) (MDrawerController)"

When I build again the solution, I didn't got any error and solution is build successfully.

Screencast: http://www.screencast.com/t/1tbtMzIlS

Build Output (Case: build failed) : https://gist.github.com/saurabh360/1996bc7cf11d02f4d0cc
Build Output (Case : build successful ): https://gist.github.com/saurabh360/a5ca352cc9b11e5e39f3

Environment Info:

=== Xamarin Studio ===

Version 5.5 (build 208)
Installation UUID: 6ea47b0d-1852-4aaf-808d-373ff0a5002b
Runtime:
	Mono 3.10.0 ((detached/ac51002)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 310000016

=== Apple Developer Tools ===

Xcode 6.0.1 (6528)
Build 6A317

=== Xamarin.iOS ===

Version: 8.2.0.181 (Business Edition)
Hash: 9d613ff
Branch: 
Build date: 2014-09-23 18:49:01-0400

=== Xamarin.Android ===

Version: 4.18.0 (Business Edition)
Android SDK: /Users/jatin66/Desktop/Backup/android-sdk-macosx
	Supported Android versions:
		1.6   (API level 4)
		2.1   (API level 7)
		2.2   (API level 8)
		2.3   (API level 10)
		3.0   (API level 11)
		3.1   (API level 12)
		3.2   (API level 13)
		4.0   (API level 14)
		4.0.3 (API level 15)
		4.1   (API level 16)
		4.2   (API level 17)
		4.3   (API level 18)
		4.4   (API level 19)
Java SDK: /usr
java version "1.7.0_65"
Java(TM) SE Runtime Environment (build 1.7.0_65-b17)
Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode)

=== Xamarin.Mac ===

Version: 1.11.0.1 (Business Edition)

=== Build Information ===

Release ID: 505000208
Git revision: 12aa66ae389a462ea0c7af228fa6a85c67bdd68e
Build date: 2014-09-24 02:28:20-04
Xamarin addins: f2b637530447a569d0a2006c808e9a649500fc68

=== Operating System ===

Mac OS X 10.9.5
Darwin Jatin66s-iMac.local 13.4.0 Darwin Kernel Version 13.4.0
    Sun Aug 17 19:50:11 PDT 2014
    root:xnu-2422.115.4~1/RELEASE_X86_64 x86_64
Comment 2 Rolf Bjarne Kvinge [MSFT] 2014-11-07 04:01:20 UTC
Fixed.

maccore/master: a6b7fa0f601102692c23f7f79f64b7eac905279a
monotouch/master: e97951138f0fe0638bf38e79d48542a9ac4477a5
Comment 3 Sunil Kumar 2014-11-26 08:52:48 UTC
I have checked this issue with help of bug description and now it's working fine. It gives same error each time on build the solution.

Screencast: http://www.screencast.com/t/9IuWxSdRAJI

Environment info:
=== Xamarin Studio ===

Version 5.7 (build 596)
Installation UUID: 561c7a69-0a91-4bae-ad7c-f0c79d594337
Runtime:
	Mono 3.12.0 ((detached/b75fa2b)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 312000046

=== Apple Developer Tools ===

Xcode 5.1.1 (5085)
Build 5B1008

=== Xamarin.iOS ===

Version: 8.6.0.5 (Trial Edition)
Hash: 880cc21
Branch: 
Build date: 2014-11-25 12:12:17-0500

=== Xamarin.Android ===

Version: 5.0.0.0 (Indie Edition)
Android SDK: /Users/tajinder/Desktop/android-sdk-macosx
	Supported Android versions:
		2.3    (API level 10)
		4.0.3  (API level 15)
		4.1    (API level 16)
		4.2    (API level 17)
		4.3    (API level 18)
		4.4    (API level 19)
		4.4.87 (API level 20)
		5.0    (API level 21)
Java SDK: /usr
java version "1.7.0_67"
Java(TM) SE Runtime Environment (build 1.7.0_67-b01)
Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode)

=== Xamarin.Mac ===

Version: 1.11.1.201 (Indie Edition)

=== Build Information ===

Release ID: 507000596
Git revision: d996e9ba6874a0d64241e43e5e6b06322ce29c84
Build date: 2014-11-25 17:17:54-05
Xamarin addins: 8ca19707b41536a391f53364ee4ff9272711feb0

=== Operating System ===

Mac OS X 10.8.4
Darwin Tajinders-iMac.local 12.4.2 Darwin Kernel Version 12.4.2
    Mon Jun 17 18:00:12 PDT 2013
    root:xnu-2050.45.8~1/RELEASE_X86_64 x86_64