Domanda

I'm using Prism for Windows 8.1 Apps and I would like to have multiple projects that contain views in the solution structure. The problem is that the View/VM locator can't seem to find the views in projects other than the one containing App.xaml

The view are inheriting from VisualStateAwarePage and using the same namespace that the locator is searching for the views.

Has anyone used views in separate projects? Any idea what might be missing?

Thanks, Jeff

È stato utile?

Soluzione

In the documentation on page 36 (of the downloaded PDF version) is the answer for this:

Changing the convention for naming, locating and associating viewmodels with views. Online you will find it under

Use this link to the documentation

The same thing in the online version is at this location. Scroll until you see the paragraph title I mentioned above.

Good luck!

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top