Bug 15357 - `using` directive improperly reported as invalid.
Summary: `using` directive improperly reported as invalid.
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Text Editor ()
Version: 4.0.12
Hardware: PC Mac OS
: --- minor
Target Milestone: master
Assignee: Mike Krüger
Depends on:
Reported: 2013-10-11 10:29 UTC by Tom Opgenorth
Modified: 2014-03-27 04:43 UTC (History)
2 users (show)

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

red `using` directive (1.06 MB, image/png)
2013-10-11 10:29 UTC, Tom Opgenorth

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:

Description Tom Opgenorth 2013-10-11 10:29:51 UTC
Created attachment 5127 [details]
red `using` directive

The following using directive is highlighted red in the Text Editor.

using AndroidHUD;

AndroidHUD was installed via the Component Store, and is referenced by the project. Using types from the AndroidHUD component also end up coloured red and reported as invalid types (missing reference).

The project does compile and run fine.

See attached screenshot.
Comment 1 Mike Krüger 2013-10-14 01:11:48 UTC
Should've been fixed in master - (will be in the 4.0.14 release I suppose)
Comment 2 Sadik Ali 2014-03-27 04:43:08 UTC
I have checked this issue and noticed that after adding component AndroidHUD I am able to add reference in my class(using AndroidHUD)
Screen cast: http://screencast.com/t/frOzGDWuU

Environment Info:

=== Xamarin Studio ===
Version 4.2.4 (build 266)
Installation UUID: ce3f5199-e126-42fd-bc8a-6a96370af9ab
 Mono 3.2.6 ((no/9b58377)
 GTK+ 2.24.23 (Raleigh theme)
 Package version: 302060000

=== Xamarin.Android ===
Version: 4.13.0 (Trial Edition)

=== Apple Developer Tools ===
Xcode 5.0 (3332.22)
Build 5A1412

=== Xamarin.iOS ===
Version: (Trial Edition)
Hash: 16bef0b
Build date: 2014-03-20 12:01:19-0400

=== Build Information ===
Release ID: 402040266
Git revision: 57fa6b7639703775ae1d5c46536e42ab424cb177
Xamarin addins: eee141c29724a19529e77b8e743086d95b29f5ba

=== Operating System ===
Mac OS X 10.9.2
Darwin mac109s-Mac-mini.local 13.1.0 Darwin Kernel Version 13.1.0
    Thu Jan 16 19:40:37 PST 2014
    root:xnu-2422.90.20~2/RELEASE_X86_64 x86_64