Bug 30288 - [Roslyn Migration] Text editor highlights with red referenced namespaces and types
Summary: [Roslyn Migration] Text editor highlights with red referenced namespaces and ...
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Text Editor ()
Version: Trunk
Hardware: Macintosh Mac OS
: Normal normal
Target Milestone: Roslyn
Assignee: Dave Thomas
Depends on:
Reported: 2015-05-20 21:23 UTC by Oleg Demchenko
Modified: 2015-08-07 07:39 UTC (History)
3 users (show)

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:

Description Oleg Demchenko 2015-05-20 21:23:22 UTC
Project rebuilds successfully but text editor highlights with red referenced namespaces and types.


Tested with XS Version 6.0 (build 2249)
Comment 1 Parmendra Kumar 2015-05-22 06:46:23 UTC
I have checked this issue and getting same behavior mentioned in bug description.

Screencast: http://www.screencast.com/t/zAsZnziwAHa

IDE Log: https://gist.github.com/Parmendrak/9a9ca62e40f00071ad59

Environment info: 
=== Xamarin Studio ===

Version 6.0 (build 2307)
Installation UUID: 1a096c6f-0678-402e-89b2-a2c10f7e80e4
	Mono 4.0.1 ((detached/11b5830)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 400010043

=== Apple Developer Tools ===

Xcode 6.2 (6776)
Build 6C131e

=== Xamarin.iOS ===

Version: (Enterprise Edition)
Hash: 13d1cdc
Branch: master
Build date: 2015-05-18 22:54:57-0400

=== Xamarin.Android ===

Version: (Enterprise Edition)
Android SDK: /Users/360_macmini/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.8.0_31"
Java(TM) SE Runtime Environment (build 1.8.0_31-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.31-b07, mixed mode)

=== Xamarin Android Player ===

Version: Unknown version
Location: /Applications/Xamarin Android Player.app

=== Xamarin.Mac ===

Version: (Enterprise Edition)

=== Build Information ===

Release ID: 600002307
Git revision: 69979663f787746aaca7ca45dd6a7ee29268ec7d
Build date: 2015-05-21 13:21:00-04
Xamarin addins: 0b7e970a67627c5653788b6594b3256cc545ee5c
Build lane: monodevelop-lion-roslyn

=== Operating System ===

Mac OS X 10.9.4
Darwin ShrutiMac.local 13.3.0 Darwin Kernel Version 13.3.0
    Tue Jun  3 21:27:35 PDT 2014
    root:xnu-2422.110.17~1/RELEASE_X86_64 x86_64
Comment 2 Mike Krüger 2015-05-27 05:01:11 UTC
Can't verify in the current roslyn master - that it happens for the f# binding as well points to a problem in the project system references which may've been fixed.

Can you grab a newer build and try to get that ?
Comment 3 Parmendra Kumar 2015-05-27 06:18:29 UTC

I have checked this issue with XS build and now its working fine with C# but I am still getting same issue with F# project.
Comment 4 Mike Krüger 2015-05-27 06:25:15 UTC
@dthomas can you look at the F# problem. 

btw. I would be interested in the cause of that issue - to check if it affects c# as well.
Comment 5 Dave Thomas 2015-08-07 07:39:05 UTC
Cant replicate in the latest roslyn branch, not sure what the issue was.