eXpand icon indicating copy to clipboard operation
eXpand copied to clipboard

unable to open model editor

Open mbogaerts opened this issue 5 years ago โ€ข 10 comments

๐——๐—ฒ๐˜€๐—ฐ๐—ฟ๐—ถ๐—ฏ๐—ฒ ๐˜๐—ต๐—ฒ ๐—ฏ๐˜‚๐—ด Cannot load designer ๐—ง๐—ผ ๐—ฅ๐—ฒ๐—ฝ๐—ฟ๐—ผ๐—ฑ๐˜‚๐—ฐ๐—ฒ

  1. install al latest versions of xpand and open de model editor

  2. exception: at DevExpress.ExpressApp.Utils.Reflection.TypeData.CreateInstance(Object[] args) at DevExpress.Persistent.Base.ReflectionHelper.CreateObject(Type objectType, Object[] args) at DevExpress.ExpressApp.Design.TreeBuilder1.CreateModuleReferenceTreeItem(TreeView treeView, Type moduleType, Boolean useToolboxImage) at DevExpress.ExpressApp.Design.ModuleTypesTreeBuilder.BuildTree(TreeView treeView, ModuleBase dataSource) at DevExpress.ExpressApp.Design.ModuleTypesTreeViewTray.RefreshNodes() at DevExpress.ExpressApp.Design.TreeViewTray1.set_DataSource(DataSourceType value) at DevExpress.ExpressApp.Design.XafModuleRootDesignerGUI.Initialize(XafModuleRootDesigner designer) at DevExpress.ExpressApp.Design.XafModuleRootDesigner.InitializeView() at DevExpress.ExpressApp.Design.XafRootDesignerBase.DesignerHost_LoadComplete(Object sender, EventArgs e) ----------InnerException---------- The type initializer for 'Xpand.XAF.Modules.Reactive.ReactiveModuleBase' threw an exception. ----------StackTrace---------- at Xpand.XAF.Modules.HideToolBar.HideToolBarModule..ctor() at Create_HideToolBarModule() at DevExpress.ExpressApp.Utils.Reflection.TypeData.CreateInstance(Object[] args) ----------InnerException---------- The type initializer for 'Xpand.Extensions.XAF.AppDomainExtensions.AppDomainExtensions' threw an exception. ----------StackTrace---------- at Xpand.Extensions.XAF.AppDomainExtensions.AppDomainExtensions.Patch(AppDomain appDomain, Action1 patch) at Xpand.XAF.Modules.Reactive.ReactiveModuleBase..cctor() ----------InnerException---------- Could not load type 'Mono.Cecil.DefaultReflectionImporter' from assembly 'Mono.Cecil, Version=0.10.0.0, Culture=neutral, PublicKeyToken=50cebf1cceb9d05e'. ----------StackTrace---------- at MonoMod.Utils.MMReflectionImporter..ctor(ModuleDefinition module) at MonoMod.Utils.MMReflectionImporter._Provider.GetReflectionImporter(ModuleDefinition module) at Mono.Cecil.ModuleDefinition.CreateModule(String name, ModuleParameters parameters) at HarmonyLib.HarmonySharedState.CreateModule() at HarmonyLib.HarmonySharedState.GetState() at HarmonyLib.HarmonySharedState.GetPatchInfo(MethodBase method) at HarmonyLib.PatchProcessor.Patch() at HarmonyLib.Harmony.Patch(MethodBase original, HarmonyMethod prefix, HarmonyMethod postfix, HarmonyMethod transpiler, HarmonyMethod finalizer) at Xpand.Extensions.XAF.AppDomainExtensions.AppDomainExtensions.<>c.<.cctor>b__1_0(Harmony harmony) at Xpand.Extensions.XAF.AppDomainExtensions.AppDomainExtensions.Patch(AppDomain appDomain, Action1 patch) at Xpand.Extensions.XAF.AppDomainExtensions.AppDomainExtensions..cctor() ๐—˜๐˜…๐—ฝ๐—ฒ๐—ฐ๐˜๐—ฒ๐—ฑ ๐—ฏ๐—ฒ๐—ต๐—ฎ๐˜ƒ๐—ถ๐—ผ๐—ฟ A clear and concise description of what you expected to happen. ๐—ฆ๐—ฐ๐—ฟ๐—ฒ๐—ฒ๐—ป๐˜€๐—ต๐—ผ๐˜๐˜€ If applicable, add screenshots to help explain your problem. ๐—›๐—ผ๐˜„ ๐˜„๐—ฒ ๐—ฝ๐—ฟ๐—ถ๐—ผ๐—ฟ๐—ถ๐˜๐—ถ๐˜‡๐—ฒ ๐—ถ๐˜€๐˜€๐˜‚๐—ฒ๐˜€ We will try to answer all questions that do not require research within 24hr. To prioritize cases that require research we use the following labels in order.

  3. โ‡๏ธ Exclusive-Services

  4. โค Bronze Sponsor

  5. โค Sponsor

  6. โค Backer

  7. Installation

  8. ShowStopper

  9. Nuget

  10. Contribution

  11. BreakingChange

  12. ReproSample

  13. Deployment

  14. Must-Have

For all other issues the posting time is respected.

mbogaerts avatar Nov 23 '20 12:11 mbogaerts

'Mono.Cecil, Version=0.10.0.0,

looks similar #753

apobekiaris avatar Nov 23 '20 19:11 apobekiaris

Yes it does apparently,

I have been investigating the reason but have not found a direct cause. Keep you posted I might find anything related. For now I have excluded xpand from this project until I have time to investigate further.

With expand and the vsix installed the solution is not stable (and fast) enough at this point. I need to pass the project on to a non XAF dev so I need it to go smooth.

Thnx however for your effort

From: Apostolis Bekiaris [email protected] Sent: Monday, 23 November 2020 20:46 To: eXpandFramework/eXpand [email protected] Cc: Michael Bogaerts [email protected]; Author [email protected] Subject: Re: [eXpandFramework/eXpand] unable to open model editor (#811)

'Mono.Cecil, Version=0.10.0.0,

looks similar #753https://github.com/eXpandFramework/eXpand/issues/753

โ€” You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/eXpandFramework/eXpand/issues/811#issuecomment-732386132, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADCLONXTHDAFVJNFADFQDYTSRK3W7ANCNFSM4T7OQSZA.

mbogaerts avatar Nov 23 '20 19:11 mbogaerts

still confused the #753 should resolve this case, isn't it?

apobekiaris avatar Nov 23 '20 19:11 apobekiaris

  1. It does not thown the exception anymore but I donโ€™t get beyond this because the VS crashes (on 2 different corporate systems)
  2. I do not want to update machine configs on all dev systems
  3. there has to be a reason for this โ€ฆ and I would like to find it ๐Ÿ˜Š

From: Apostolis Bekiaris [email protected] Sent: Monday, 23 November 2020 20:56 To: eXpandFramework/eXpand [email protected] Cc: Michael Bogaerts [email protected]; Author [email protected] Subject: Re: [eXpandFramework/eXpand] unable to open model editor (#811)

still confused the #753https://github.com/eXpandFramework/eXpand/issues/753 should resolve this case, isn't it?

โ€” You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/eXpandFramework/eXpand/issues/811#issuecomment-732391403, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADCLONTQ3ZH7REIWGAVVSJ3SRK46BANCNFSM4T7OQSZA.

mbogaerts avatar Nov 23 '20 20:11 mbogaerts

here the conflict back then

https://github.com/eXpandFramework/eXpand/issues/724#issuecomment-657214257.

apobekiaris avatar Nov 23 '20 20:11 apobekiaris

It does not thown the exception anymore but I donโ€™t get beyond this because the VS crashes (on 2 different corporate systems)

looks like it just tries to load the missing assembly and it stackoverflows thats why VS crash and not throwing

apobekiaris avatar Nov 23 '20 20:11 apobekiaris

also in latest versions VSIX is not a requirement any more

apobekiaris avatar Nov 23 '20 20:11 apobekiaris

Disabled the vsix, now Iโ€™m having issue #802โ€ฆ

From: Apostolis Bekiaris [email protected] Sent: Monday, 23 November 2020 21:09 To: eXpandFramework/eXpand [email protected] Cc: Michael Bogaerts [email protected]; Author [email protected] Subject: Re: [eXpandFramework/eXpand] unable to open model editor (#811)

also in latest versions VSIX is not a requirement any more

โ€” You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/eXpandFramework/eXpand/issues/811#issuecomment-732397823, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADCLONRP4VCO3DYKXO5BU2DSRK6MFANCNFSM4T7OQSZA.

mbogaerts avatar Nov 23 '20 20:11 mbogaerts

VSIX Light would be nice then ๐Ÿ˜Š only the Models List and easy model editor laucher OTB.

M.

From: Apostolis Bekiaris [email protected] Sent: Monday, 23 November 2020 21:09 To: eXpandFramework/eXpand [email protected] Cc: Michael Bogaerts [email protected]; Author [email protected] Subject: Re: [eXpandFramework/eXpand] unable to open model editor (#811)

also in latest versions VSIX is not a requirement any more

โ€” You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/eXpandFramework/eXpand/issues/811#issuecomment-732397823, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADCLONRP4VCO3DYKXO5BU2DSRK6MFANCNFSM4T7OQSZA.

mbogaerts avatar Nov 23 '20 20:11 mbogaerts

I think there is a working solution with the machine.config and and then end this is why machine.config exists, to solve problems like this one. Net Core XAF uses a standalone modeleditor so most problably such issues won't exist there

apobekiaris avatar Nov 23 '20 20:11 apobekiaris

Closing issue for age. Feel free to reopen it at any time.

.Thank you for your contribution.

expand avatar Dec 24 '23 21:12 expand