xamarin.android - No resource identifier found for attribute 'MvxBind' in package in Xamarin Android app -


i'm using xamarin studio v5.10.1 , xamarin android v6.0.0.34 , mvvmcross v3.5.1.

i keep getting error message when build solution:

no resource identifier found attribute 'mvxbind' in package my.package

i've seen question in stack overflow regarding error nothing helped.

here tried:

  1. clean , rebuild
  2. used res-auto instead of package name
  3. upgrade latest mono android

it seems file mvxbindingattributes.xml not copied resources/values folder. assume supposed extract cirrious.mvvmcross.binding.droid.dll somehow doesn't.

i tried creating mvxbindingattributes.xml file myself in right place. fixed compilation error runtime error complaining same thing (resource id's not found).

ok. checked. doesn't seem nuget installs mvxbindingattributes.xml resources\values folder. have create yourself:

the contents need this: https://github.com/mvvmcross/mvvmcross/blob/3.5/cirrious/cirrious.mvvmcross.binding.droid/resources/values/mvxbindingattributes.xml

<?xml version="1.0" encoding="utf-8"?> <resources>   <declare-styleable name="mvxbinding">     <attr name="mvxbind" format="string"/>     <attr name="mvxlang" format="string"/>   </declare-styleable>   <declare-styleable name="mvxcontrol">     <attr name="mvxtemplate" format="string"/>   </declare-styleable>   <declare-styleable name="mvxlistview">     <attr name="mvxitemtemplate" format="string"/>     <attr name="mvxdropdownitemtemplate" format="string"/>   </declare-styleable>   <declare-styleable name="mvxexpandablelistview">     <attr name="mvxgroupitemtemplate" format="string"/>   </declare-styleable>   <item type="id" name="mvxbindingtagunique"/>   <declare-styleable name="mvximageview">     <attr name="mvxsource" format="string"/>   </declare-styleable> </resources> 

edit:

this information not valid mvvmcross 4.x mvxbindingattributes.xml included in mvvmcross.binding package. means, no longer necessary include file or through nuget project.


Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

ruby on rails - Seeing duplicate requests handled with Unicorn -