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 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.
Created attachment 11140 [details]
Spurious error in Visual Studio
Visual Studio 2015 RC
Windows 8.1 x64 (clean install)
I've downloaded the UsingDependencyService sample app from http://developer.xamarin.com/samples/xamarin-forms/UsingDependencyService/. The IDE marks the following source lines with a red error squiggly:
[assembly: Dependency (typeof (TextToSpeech_Android))]
The error messages are:
The type 'Attribute' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=184.108.40.206, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
I've attached a picture of this.
The interesting thing is that projects actually build and deploy OK.
Seeing as it compiles the references must be correct. Looks like a bug in the VS 2015 IDE.
This bug is unrelated to Forms, just an intellisense integration issue (not related to Xaml). Reassigning to VS team.
This is resolved in alpha.