I am coding .cs files in Visual Studio 2013 with an Indie license of Xamarin. In Xamarin Studio the syntax of following code gets properly highlighted
EditText username = FindViewById<EditText> (Resource.Id.Username);
EditText pass = FindViewById<EditText> (Resource.Id.Password);
But in VS it is all in white colors and with no IntelliSense as well.
I could get syntax highlighting working for .axml
files, but not for Xamarin .cs
files.
Other .cs
files, not generated in Xamarin, work fine.
I think this is connected with following using statements
using Android.App;
using Android.Content;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using Android.OS;
You should remove all files from
%User%\AppData\Local\Microsoft\VisualStudio\14.0\ComponentModelCache
folder.
And restart Visual Studio
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With