Friday 15 March 2013

c# - What should be the path stored in XML file? -



c# - What should be the path stored in XML file? -

i have created wpf project using prism. here construction of application:

mysolution |-business //folder |-staticdata //this project contains xml file contains info menu , navigation. |-data |-modules //folder |-menumodule |-membersmodule |-view1 |-view2 |-view3 |-mainproject //startup project |-infrastructure

i want utilize view-based navigation in application. menu generated dynamically xml file. so, want store navigation uri in xml file.

i have used xcopy command re-create dll of modulemembers automatically in current directory.

i have tried:

modules/modulemembers/view1xaml , pack://application:,,,/modules/modulemembers/view1xaml

but system.object instead of view in output.

you might problem of registering modules. that's not problem. here code registration :

_container.registertype<object, view1>(typeof(view1).fullname);

so, think path of view stored in xml file needs changed.

thanks.........

i have done it. simple.

so, xml should contain:

modulemembers.view1

c# xml wpf prism

No comments:

Post a Comment