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 for Bug 17857 on
Developer Community if you have new
information to add and do not yet see a matching new report.
If the latest results still closely match this report, you can use the
Created attachment 6085 [details]
## Steps to reproduce
1. Open attached test case in VS 2013.
2. Build the AndroidBindingIntellisense project.
3. Open the `MainActivity.cs` from the AndroidBindingIntellisense project in the editor.
4. Start typing the following line beneath the existing two "var x = ..." lines:
> var z = new BindingLib.MyJavaView(this);
Visual Studio does not offer Intellisense autocomplete suggestions for `BindingLib` or `MyJavaView`. Additionally the existing `BindingLib` namespace in the "var x = ..." line causes the following error to appear in the Error List window:
The type or namespace name 'BindingLib' could not be found (are you missing a using directive or an assembly reference?)
In the AndroidBindingIntellisense project, remove the reference to the BindingLib _project_, and instead reference the compiled BindingLib.dll.
## Version information
I tried to open attached project in VS 2013 but getting "Unsupported " error message and attached project not opened.
Refer screen shot: http://screencast.com/t/YAuKcIJkvdq
Let me know if I need any setting to open this project.
Created attachment 6128 [details]
Hmm. Somehow I left two copies of the solution in the .zip.
Here's an updated version with just 1 solution. Hopefully this will work. That said, I was able to open both solutions from the old zip with Visual Studio, so I'm not 100% sure where the "Unsupported" error is coming from.
I also noticed that the binding project template for Visual Studio has a different ProjectTypeGuids element [1, 2], so I switched that to match the Visual Studio value. Maybe that will help.
 From Xamarin Studio 4.2.3 (build 54), Xamarin.Android 4.12.0-22:
 From Visual Studio 2013, Xamarin.Android 4.12.00022:
I have checked this issue on below environments:
X iOS: 1.10.39
After build application I noticed that when I typed "BindingLib" getting error for reference of this library.
Refer screen cast: http://screencast.com/t/FEFGCCk2
3.10 was scratched and the only milestone tracked for what was the 3.10 release is VS2015-CTP6. Moving open 3.10 bugs to 3.11 for review.
Updating target milestone to Cycle 6
I have checked this issue with latest stable build of XVS i.e. 3.11.666 and observed that this issue still exist i.e.
>Visual Studio does not offer Intellisense autocomplete suggestions for `BindingLib` or >`MyJavaView`.
Some further observations:
It seems that there is a clear distinction of the `Debug` configuration vs. the `Release` configuration when using Visual Studio's `Object Browser` from a project that is referencing a binding project.
Thus with the current workaround, one could also simply set the configuration to `Release` to get proper intellisense to a referenced binding project.
I can confirm this enabled intellisense correctly:
As for another confirmation to https://bugzilla.xamarin.com/show_bug.cgi?id=17857#c0 you could alternatively reference the already built .dll instead of a project reference.
So overall it seems that there is a disconnect of what classes are brought into the project in `Debug` and `Release` mode and there are now two workarounds provided.