Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Error CS0117 (no definition)... but not really..

$
0
0

I added a property in the model from my other project, compiled the dll and replaced it in my main project libs. When I try to use that new model property, there is no autocomplete for this one only, but if I write it down, it compiles.

However, Xamarin puts the code in red like this "object.Property" and when I hover the mouse on that property, it says

Error CS0117 : 'Object' does not contain a definition for 'Property'

but again, it compiles and I can see its value when debugging.

Is there something I missed so that Xamarin can autocomplete my new properties and know its type?


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>