ios - Xamarin Studio creates files with wrong namespace -


i'm using xamarin studio , i'm developing app mvvmcross framework.

my issue that, when try create new file in folder named "views", namespace not contain ".views".

i have xamarin.client.ios instead of xamarin.client.ios.views. mvvmcross framework doesn't find views , return keynotfoundexception : not find view [myviewmodel]

i wonder if xcode modified namespaces because app worked , can't find views.

i guess it's namespace problem not sure. fact "view" files not in ".views" namespace while in "views" folder.

how can create views namespace ? because changing in .cs , .designer.cs file not fix keynotfoundexception...

if have idea...

in xamarin studio, preferences --> source code --> .net naming policies

check "associate namespaces directory names" if want classes include folder name in namespace default.


Comments

Popular posts from this blog

Unable to open serial port using Putty to bluetooth device on windows 7 64 bit -

bash - How do you programmatically add a bats test? -

java - Getting exception in JDBC thin driver -