eXpandFramework / eXpand

DevExpress XAF (eXpressApp) extension framework. ๐—น๐—ถ๐—ป๐—ธ๐—ฒ๐—ฑ๐—ถ๐—ป.๐—ฒ๐˜…๐—ฝ๐—ฎ๐—ป๐—ฑ๐—ณ๐—ฟ๐—ฎ๐—บ๐—ฒ๐˜„๐—ผ๐—ฟ๐—ธ.๐—ฐ๐—ผ๐—บ, ๐˜†๐—ผ๐˜‚๐˜๐˜‚๐—ฏ๐—ฒ.๐—ฒ๐˜…๐—ฝ๐—ฎ๐—ป๐—ฑ๐—ณ๐—ฟ๐—ฎ๐—บ๐—ฒ๐˜„๐—ผ๐—ฟ๐—ธ.๐—ฐ๐—ผ๐—บ and ๐˜๐˜„๐—ถ๐˜๐˜๐—ฒ๐—ฟ @๐—ฒ๐˜…๐—ฝ๐—ฎ๐—ป๐—ฑ๐—ณ๐—ฟ๐—ฎ๐—บ๐—ฒ๐˜„๐—ผ๐—ฟ๐—ธ and or simply ๐—ฆ๐˜๐—ฎ๐—ฟ/๐˜„๐—ฎ๐˜๐—ฐ๐—ต this repository and get notified from ๐—š๐—ถ๐˜๐—›๐˜‚๐—ฏ
http://expand.expandframework.com
Microsoft Public License
222 stars 115 forks source link

unable to open model editor #811

Closed mbogaerts closed 10 months ago

mbogaerts commented 3 years ago

๐——๐—ฒ๐˜€๐—ฐ๐—ฟ๐—ถ๐—ฏ๐—ฒ ๐˜๐—ต๐—ฒ ๐—ฏ๐˜‚๐—ด 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.

apobekiaris commented 3 years ago

'Mono.Cecil, Version=0.10.0.0,

looks similar #753

mbogaerts commented 3 years ago

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 notifications@github.com Sent: Monday, 23 November 2020 20:46 To: eXpandFramework/eXpand eXpand@noreply.github.com Cc: Michael Bogaerts Michael@3Way.be; Author author@noreply.github.com 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.

apobekiaris commented 3 years ago

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

mbogaerts commented 3 years ago

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 notifications@github.com Sent: Monday, 23 November 2020 20:56 To: eXpandFramework/eXpand eXpand@noreply.github.com Cc: Michael Bogaerts Michael@3Way.be; Author author@noreply.github.com 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.

apobekiaris commented 3 years ago

here the conflict back then

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

apobekiaris commented 3 years ago

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 commented 3 years ago

also in latest versions VSIX is not a requirement any more

mbogaerts commented 3 years ago

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

From: Apostolis Bekiaris notifications@github.com Sent: Monday, 23 November 2020 21:09 To: eXpandFramework/eXpand eXpand@noreply.github.com Cc: Michael Bogaerts Michael@3Way.be; Author author@noreply.github.com 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 commented 3 years ago

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

M.

From: Apostolis Bekiaris notifications@github.com Sent: Monday, 23 November 2020 21:09 To: eXpandFramework/eXpand eXpand@noreply.github.com Cc: Michael Bogaerts Michael@3Way.be; Author author@noreply.github.com 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.

apobekiaris commented 3 years ago

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

expand commented 10 months ago

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

.Thank you for your contribution.