×

Notice

The forum is in read only mode.
×
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

  • Daishoq
  • Daishoq's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
3 months 4 days ago #11636 by Daishoq
Don't See Module in ModelDifference was created by Daishoq
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…
More
3 months 4 days ago #11637 by Tolis
Replied by Tolis on 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
Moderators: expand
Time to create page: 0.196 seconds