×
Getting new Releases

To get notified on new releases you may follow us on twitter @expandframework or subscribe in our main RSS feed.

Topic-icon Don't See Module in ModelDifference

More
2 weeks 3 days ago #11636 by Daishoq
Daishoq created the topic: Don't See Module in ModelDifference
Hi

I add some Xaf Module while application is opening (program.cs) using following code

Application.Modules.Add((ModuleBase)assembly.GetTypes().FirstOrDefault(x => x.Name == string.Format("{0}Module", name)).GetConstructor(Type.EmptyTypes).Invoke(new object[] { }));

But I can’t reach these modules in ModelEditor at ModelDifference. I can reach Xaf ModelEditor using EditModel option in Tools Menu, waiting your help…

Please Log in or Create an account to join the conversation.

More
2 weeks 3 days ago #11637 by Tolis
Tolis replied the topic: Don't See Module in ModelDifference
can you post a sample? until then could u try the next code in

public override void Setup(ApplicationModulesManager moduleManager){
base.Setup(moduleManager);
ModuleManager.AddModule(Application, module)
}

worked fine for me

To get notified on new releases follow us on twitter @expandframework or subscribe RSS feed. I am also available @tolisss . Also see How to debug eXpand

Please Log in or Create an account to join the conversation.

Time to create page: 0.188 seconds