eXpandFramework / eXpand

DevExpress XAF (eXpressApp) extension framework. 𝗹𝗶𝗻𝗸𝗲𝗱𝗶𝗻.𝗲𝘅𝗽𝗮𝗻𝗱𝗳𝗿𝗮𝗺𝗲𝘄𝗼𝗿𝗸.𝗰𝗼𝗺, 𝘆𝗼𝘂𝘁𝘂𝗯𝗲.𝗲𝘅𝗽𝗮𝗻𝗱𝗳𝗿𝗮𝗺𝗲𝘄𝗼𝗿𝗸.𝗰𝗼𝗺 and 𝘁𝘄𝗶𝘁𝘁𝗲𝗿 @𝗲𝘅𝗽𝗮𝗻𝗱𝗳𝗿𝗮𝗺𝗲𝘄𝗼𝗿𝗸 and or simply 𝗦𝘁𝗮𝗿/𝘄𝗮𝘁𝗰𝗵 this repository and get notified from 𝗚𝗶𝘁𝗛𝘂𝗯
http://expand.expandframework.com
Microsoft Public License
220 stars 114 forks source link

.Net 7 Model Editor fails to load #1042

Closed DannyRawlings closed 7 months ago

DannyRawlings commented 7 months ago

Hi I get the following error when I try open a Model from the Editor list

image

apobekiaris commented 7 months ago

as I know you played around with ME config I cannot really tell more than that you have an issue with .net7. However I just publish the release with support for 6,7,8 frameworks

image

so update your Xpand ME plugins if you haven't arleady delete all related files from your AppData and try again. If the problem persist try to repro it with a new empty solution and post it here

DannyRawlings commented 7 months ago

Thank you, I'll test and let you know the result

DannyRawlings commented 7 months ago

This is the error I am now seeing when it starts. I am also getting the same error with a .net 6 app (I used this one in my test https://github.com/DevExpress-Examples/xaf-create-multitenant-application?fbclid=IwAR2aQndC0a93wePY_XmCUP0BU3UEzmzkKiCAsi7me-KEAsQV2B1fKHlQELQ}

image

apobekiaris commented 7 months ago

r u sure your Xpand ME model is clean? I mean default settings? cause I cannot repro it

image

apobekiaris commented 7 months ago

hmm I did now, will update u again

DannyRawlings commented 7 months ago

Yep. I have even tried it on different internet connections because on the work network it doesn't like downloading updates.

image

https://github.com/eXpandFramework/eXpand/assets/7148712/d2611c1f-c708-4dab-8590-7ef5cf2ddb9d

DannyRawlings commented 7 months ago

I am now using VS to uninstall the extension. I'll then clear the app data and start again to be 100% sure

apobekiaris commented 7 months ago

i manage to download changing the DownloadUrl in the ME to https://github.com/eXpandFramework/Reactive.XAF/releases/download/4.232.2.0/Xpand.XAF.ModelEditor.WinDesktop6.zip

note this a temp solution and will be fixed in next version, so remember to reset the setting

DannyRawlings commented 7 months ago

Yep that worked. But now I have the next error lol (on a .net 6 test app)

image

apobekiaris commented 7 months ago

add the missing assembly in path?? or post your sample

C:\Users\Tolis\AppData\Roaming\Xpand.XAF.ModelEditor.Win\WinDesktop\net6.0\4.232.2.0\

apobekiaris commented 7 months ago

ah i see is the same app

DannyRawlings commented 7 months ago

Yes I am just using the sample app as a test. I haven't made and changes to app from default

DannyRawlings commented 7 months ago

I have just tested it by create a default XAF application. Target .Net 6 first and it worked. Changed to .Net 7 and it failed

image DXApplication1.zip

apobekiaris commented 7 months ago

I updated the Xpand ME, get the latest version and should work now and no 404

DannyRawlings commented 7 months ago

Thanks, it works now with the latest version. But I have to set the download url to the .Net 7 version.

https://github.com/eXpandFramework/Reactive.XAF/releases/download/4.232.2.0/Xpand.XAF.ModelEditor.WinDesktop7.zip

apobekiaris commented 7 months ago

at least in my tests and with your sample app there is no prompt, maybe you try to clean up your folders again? or you can try the v8 should probably work for all