Yet another naming convention question

Topics: Conventions
Oct 8, 2011 at 1:04 PM

I have a View named:

Customer.Company.SilverlightApplication.Views.Administration.Application.ApplicationAdministrationView

and a viewmodel named:

Customer.Company.SilverlightApplication.ViewModels.Administration.Application.ApplicationAdministrationViewModel

both in correspinging folders in my solution.

When running the application the view is not found for the vm. Why?!

When I use the ViewLocator.NameTransformer on the full VM classname i get the resulting classname:

Customer.Company.SilverlightApplication.Views.Application.ApplicationAdministrationView

Why is the "Administration" part of the namespace removed???

Oct 9, 2011 at 10:05 PM
Edited Oct 9, 2011 at 10:05 PM

It seems that your issue has already been fixed. I tested with the version in the trunk, and it seems to OK: it, returned, indeed:

Customer.Company.SilverlightApplication.Views.Administration.Application.ApplicationAdministrationView

Which version are you using?

Oct 10, 2011 at 7:43 AM

Yep, that did the trick

My version was the one on the download page. With the one in the trunk everything works great!

 

THANKS!!!