Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
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
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.
In an iOS app, this code:
returns false !
Per the CALayer.Opacity declaration, it should return true, as a public setter exists:
public virtual float Opacity
return Messaging.float_objc_msgSend(this.Handle, Selector.GetHandle("opacity"));
return Messaging.float_objc_msgSendSuper(this.SuperHandle, Selector.GetHandle("opacity"));
Messaging.void_objc_msgSend_float(this.Handle, Selector.GetHandle("setOpacity:"), value);
Messaging.void_objc_msgSendSuper_float(this.SuperHandle, Selector.GetHandle("setOpacity:"), value);
What is this bug, on the stable channel ?
Microsoft Visual Studio Professional 2015
Version 14.0.24720.00 Update 1
Microsoft .NET Framework
Xamarin 220.127.116.117 (1390b70)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.
Xamarin.Android 18.104.22.168 (d300845)
Visual Studio plugin to enable development for Xamarin.Android.
Xamarin.iOS 22.214.171.124 (ea30b32)
Visual Studio extension to enable development for Xamarin.iOS.
=== Apple Developer Tools ===
Xcode 7.1 (9079)
=== Xamarin.iOS ===
Version: 126.96.36.199 (Business Edition)
Build date: 2015-12-08 16:20:29-0500
=== Xamarin.Mac ===
=== Build Information ===
Release ID: 510010006
Git revision: 0b60eecdb531933734519c13257d16a780274aab
Build date: 2015-12-04 20:28:20-05
Xamarin addins: 9876fd7c9837977178411ec7375b4352c0a0d6af
Build lane: monodevelop-lion-cycle6-baseline
=== Operating System ===
Mac OS X 10.11.2
Darwin MacDeMiniMac.local 15.2.0 Darwin Kernel Version 15.2.0
Fri Nov 13 19:56:56 PST 2015
This could be the linker removing the setter.
Does this happen in the simulator with the managed linker disabled (in the project's iOS Build options, set "Linker behavior" to "Don't link")?
Yes in simulator, iphone 5s and iphone 6, ios 9.1 and 9.3
I already added a dead code using the setter to prevent any linker to remove the setter.
OH NO i added only the getter. Grrrr.
Linker switch is set to "Link SDK assemblies only". In debug mode. So it has reset again to link sdk assemblies only ! I set it 10 times to "Dont link". I hate xamarin studio messing with csproj file and being unable to play correctly with VS2015 xamarin extension ... Hope you fix definetly that VS extension soon. Until that, i have to keep with XS for archiving, as VS is unable to archive/re-sign a working appstore version.
Working ok now with the getter added to the dead code.