eXpand icon indicating copy to clipboard operation
eXpand copied to clipboard

Xpand.XAF.ModelEditor.WinDesktope.exe does not run for missing .net

Open aityahiaidir opened this issue 3 years ago โ€ข 12 comments

I installed the standalone module, Xpand.XAF.Modules.GridListEditor on new fresh Winform XAF .Net Core project, When I try to run the Xpand ModelEditor, I get the following error

To run this application you must Install .Net

the default Devexpress model editor dont work after installing any Xpand module

Visual studio 2019 / Windows 11

I have .net core 5.0 Sdk installed on my system

below is the list of installed sdk

3.1.418 [C:\Program Files\dotnet\sdk] 5.0.407 [C:\Program Files\dotnet\sdk] 6.0.201 [C:\Program Files\dotnet\sdk] 6.0.202 [C:\Program Files\dotnet\sdk]

an idea of what may prevent the program from running, I tried to run the program from the outside VS and I get the same error

aityahiaidir avatar Apr 30 '22 10:04 aityahiaidir

When I try to run the Xpand ModelEditor

how? elab ful details IDE version etc, if I cannot repro I won't spent resources to research around

apobekiaris avatar Apr 30 '22 10:04 apobekiaris

the default Devexpress model editor dont work after installing any Xpand module

this also says nothing

apobekiaris avatar Apr 30 '22 10:04 apobekiaris

the default Devexpress model editor dont work after installing any Xpand module

this also says nothing

Sorry, i edited initial ticket, i am under Visual studio 2019 OS Windows 11

when i try to open the default model editor i get the message below

The Model Editor server host terminated unexpectedly. Try to restart the Model Editor. If this does not help, send diagnostic information to DevExpress Support: https://www.devexpress.com/go/XAF_ModelEditor_Troubleshooting.aspx Details
ร  System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) ร  System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) ร  DevExpress.ExpressApp.Design.ClientHost.<WaitForInitAsync>d__116.MoveNext()

aityahiaidir avatar Apr 30 '22 13:04 aityahiaidir

can u try the same using Rider? while u first clean all related dirs, I understand u may not have a valid Rider licence but for testing a trial is also fine.

all related dirs

these are your bin, %APPDATA%\Xpand.XAF.ModelEditor.Win\WinDesktop

or first try with VS after cleaning dirs see also #927 using that build it may be possible to use the native Xaf VS editor

apobekiaris avatar Apr 30 '22 13:04 apobekiaris

https://github.com/eXpandFramework/Reactive.XAF/tree/master/tools/Xpand.XAF.ModelEditor video demos how to use the Xpand ME with Rider

apobekiaris avatar Apr 30 '22 13:04 apobekiaris

can u try the same using Rider? while u first clean all related dirs, I understand u may not have a valid Rider licence but for testing a trial is also fine.

all related dirs

these are your bin, %APPDATA%\Xpand.XAF.ModelEditor.Win\WinDesktop

or first try with VS after cleaning dirs see also #927 using that build it may be possible to use the native Xaf VS editor

I dont have this dir in my Roaming folder, the complied Xpand ModelEditor is located on bin debug dir

C:\Users\user\source\repos\DXApplication4\DXApplication4.Module.Win\bin\Debug\net5.0-windows

i will try with Rider and and I'll keep you informed

aityahiaidir avatar Apr 30 '22 13:04 aityahiaidir

as per Xpand ME wiki the editor is copied there from the Roaming folder

apobekiaris avatar Apr 30 '22 13:04 apobekiaris

The model editor work in Rider,after installing the Jetbrains plugin the Xpand Model is is placed on the Roaming folder as mentionned

aityahiaidir avatar May 04 '22 13:05 aityahiaidir

I uninstalled and reinstalled Xpand.XVSIX directly from Visual Studio extension manager; Now the model editor start, but I get error below, maybe it will help to debug

Capture dโ€™รฉcran 2022-05-05 124004

After this error when I try again, I get another error . Capture dโ€™รฉcran 2022-05-05 125553 When I clean the bin folder I come back to the first error.

i get the same errors under Rider.

aityahiaidir avatar May 05 '22 10:05 aityahiaidir

see #924

apobekiaris avatar May 13 '22 06:05 apobekiaris

I want to use vs2022 only, but i still need to use model editor for web proyecta

vimarx avatar May 15 '22 00:05 vimarx

this plugin is now on 64bit so it won't support VS2019

@aityahiaidir did clean the assemblies from your bin? does it work on a new empty xaf solution for 21.2.7

apobekiaris avatar May 15 '22 00:05 apobekiaris

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

.Thank you for your contribution.

expand avatar Jan 09 '24 21:01 expand