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.
I create an iOS bindings library, then attempt to use native types (nint, nfloat, ...). The compiler does not recognize them; it says that it expects an int or other type.
Conversely if I create an iOS class library, these types work correctly.
We'll need information, including all versions of the software being used.
The easiest way to get exact version information is to use the "Xamarin Studio" menu, "About Xamarin Studio" item, "Show Details" button and copy/paste the version informations (you can use the "Copy Information" button).
=== Xamarin Studio Business ===
Version 5.10.3 (build 51)
Installation UUID: 01becdb9-237e-430f-9ba1-d5225a2260aa
Mono 4.2.3 (explicit/832de4b)
GTK+ 2.24.23 (Raleigh theme)
Package version: 402030004
=== Xamarin.Profiler ===
Location: /Applications/Xamarin Profiler.app/Contents/MacOS/Xamarin Profiler
=== Apple Developer Tools ===
Xcode 7.2.1 (9548.1)
=== Xamarin.iOS ===
Version: 220.127.116.11 (Xamarin Business)
Build date: 2016-03-25 21:26:55-0400
=== Xamarin.Android ===
Version: 18.104.22.168 (Xamarin Business)
Android SDK: /Users/joecooper/Development/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.4 (API level 19)
5.0 (API level 21)
SDK Tools Version: 24.3.4
SDK Platform Tools Version: 23
SDK Build Tools Version: 21.1.2
Java SDK: /usr
java version "1.8.0_25"
Java(TM) SE Runtime Environment (build 1.8.0_25-b17)
Java HotSpot(TM) 64-Bit Server VM (build 25.25-b02, mixed mode)
Android Designer EPL code available here:
=== Xamarin Android Player ===
Location: /Applications/Xamarin Android Player.app
=== Xamarin.Mac ===
=== Build Information ===
Release ID: 510030051
Git revision: f3c0d982165f785772d125f02668370d929014fb
Build date: 2016-03-24 18:51:31-04
Xamarin addins: ee5cfd3ecb6b20de47c1d25efb9a9abc101e8ce7
Build lane: monodevelop-lion-cycle6-c6sr3
=== Operating System ===
Mac OS X 10.10.5
Darwin Jester.local 14.5.0 Darwin Kernel Version 14.5.0
Tue Sep 1 21:23:09 PDT 2015
It seems weird that this would not have been caught by QA nor reported before now...
@Vincent can you double check that the latest C6 builds of XS ships with templates that can be compiled ?
@Joe can you paste the exact error (build log) or, even better, can you attach the binding project ?
Just tried the bindings library template with XS 5.10.4 (latest C6) and it's working just fine.
Also tried a binding project sample, working fine as well.
I can't reproduce that issue with native types.
Note: error logs and the guilty project would certainly help.
We have not received the requested information. If you are still
experiencing this issue please provide all the requested information
and re-open the bug report. Thanks!