Forum General


The Xamarin Forums have officially moved to the new Microsoft Q&A experience. Microsoft Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

To create new threads and ask questions head over to Microsoft Q&A for .NET and get involved today.

Intellisense does not recognize view in cs file

DacaramoDacaramo Member ✭✭

I'm trying to access the properties of a view (label) via the cs file. The label is declared in the XAML file and it has an x:Name and also a public field modifier. When i'm trying to access the property of the label Intellisense seems to not being capable of recognize the name of the view, so basically I can't reference the view via cs code.

Here's the XAML file:

And here's the cs file, where i'm trying to reference the view:

Note that both files are nested in the solution explorer and they share the same name. Also I have alredy clean and build the solution multiple times and have restart VS.

Thanks a lot for everyone that may help!!!


  • TruciferTrucifer Member ✭✭

    It happens to me sometimes. It happens to me sometimes. I usually just have to restart visual studio and it works. I use VS for Mac and this is one of many issues that I run into sometimes...

Sign In or Register to comment.