xamarin studio - Mvvmcross Android - Error finding resource ids for MvxBinding -
i'm trying follow firstdemo tutorial stuart's n+1 on xamarin studio.
i'm getting following exception:
[mono] unhandled exception: [mono] cirrious.crosscore.exceptions.mvxexception: error finding resource ids mvxbinding - please make sure resourcestocopy linked executable ---> system.invalidcastexception: cannot cast source type destination type. [mono] @ cirrious.mvvmcross.binding.droid.resourcehelpers.mvxandroidbindingresource..ctor () [0x000ed] in /users/stuartlodge/documents/github/mvx/mvvmcross/cirrious/cirrious.mvvmcross.binding.droid/resourcehelpers/mvxandroidbindingresource.cs:57 [mono] --- end of inner exception stack trace --- [mono] @ cirrious.mvvmcross.binding.droid.resourcehelpers.mvxandroidbindingresource..ctor () [0x00142] in /users/stuartlodge/documents/github/mvx/mvvmcross/cirrious/cirrious.mvvmcross.binding.droid/resourcehelpers/mvxandroidbindingresource.cs:72 [mono] @ cirrious.mvvmcross.binding.droid.resourcehelpers.mvxandroidbindingresource.initialise () [0x0000b] in /users/stuartlodge/documents/github/mvx/mvvmcross/cirrious/cirrious.mvvmcross.binding.droid/resourcehelpers/mvxandroidbindingre
i imported following references xs-ios-mac/bin/release/mvx/droid/
:
- cirrious.crosscore.dll
- cirrious.crosscore.droid.dll
- cirrious.mvvmcross.binding.dll
- cirrious.mvvmcross.binding.droid.dll
- cirrious.mvvmcross.dll
- cirrious.mvvmcross.droid.dll
- cirrious.mvvmcross.localization.dll
and before ask, yes have mvxbindingattributes.xml
on resources/values
directory, , yes, marked android resource
.
thanks in advance.
the error message generated when resourceids can't found.
these resourceids should generated android , xamarin tools in resource class in same namespace setup file.
try searching through generated resource file - mvx constants there? namespace correct?
if doesn't help, maybe compare code against finished reference solution on github. or maybe try 1 of other n+1 videos uses xamarin studio on mac.
Comments
Post a Comment