eXpand icon indicating copy to clipboard operation
eXpand copied to clipboard

Xpand Model editor for net 5 (or net 6) project is asking for missing net core

Open vimarx opened this issue 3 years ago โ€ข 14 comments

Hi, I had installed Vs2019 and vs2022 in a windows 11 machine. All is running fine, but when trying to use Model editor for a net core xaf module, it fails to start and ask for a missing net core instalation

image

reinstalled net 5 x86 sdk, net6 sdk x86, what else is needed?

vimarx avatar Apr 06 '22 19:04 vimarx

apologies i missed this case, the error comes from the .NET directly does not look Xpand related, and it will redirect u to the related download page. Assuming u download the runtime and install it i guess a restart might fix it? possibly .net enviromental vars are not initialized?

apobekiaris avatar Apr 28 '22 07:04 apobekiaris

I downloaded & installed everything but above message still happend. The message also not redirect to any download page.

txt2203 avatar May 10 '22 15:05 txt2203

The #XAF Model Editor is now built with #net6 and delivers better performance and stability. In v21.2.7, users will also like the simplified drag-and-drop implementation under the NavigationItems node (you no longer need to precisely point out the Items sub-node and can drop an item directly on the root node).

maybe related to it, wondering if you already tried Rider does it work there?

apobekiaris avatar May 10 '22 15:05 apobekiaris

I did not manage to repro it, however I migated the plugin solely for VS22, it is now published you can try it. XVSIX64

apobekiaris avatar May 13 '22 06:05 apobekiaris

I did not manage to repro it, however I migated the plugin solely for VS22, it is now published you can try it. XVSIX64

Sorry, where is located?

vimarx avatar May 13 '22 11:05 vimarx

image

apobekiaris avatar May 13 '22 11:05 apobekiaris

I tried XVSIX64 for VS2022. This is some problems I found: When Xpand Model projects list window opened :

  • Double click to a Module item => then Xpand Model Editor will open with full items correctly. Close it normally.
  • Select Module item and press button "Configure" => A "Xpand Model Editor" open but not full items compared with Devexpress model editor or above case (this case same with one for VS2019). See picture. I think Xpand opened another App. Closing this window will reopen itself several times (and I have to close it by hand) before closing completely. Xpand-VS2022-0 And above is for "not add any module Xpand to project".

After add Xpand Modules to project, then open Xpand Model projects list window, Double click to a Module item => show this error : Method not found: 'Void Microsoft.CodeAnalysis.CSharp.CSharpCompilationOptions..ctor(Microsoft.CodeAnalysis.OutputKind, Boolean, System.String, System.String, System.String, System.Collections.Generic.IEnumerable1<System.String>, Microsoft.CodeAnalysis.OptimizationLevel, Boolean, Boolean, System.String, System.String, System.Collections.Immutable.ImmutableArray1<Byte>, System.Nullable1<Boolean>, Microsoft.CodeAnalysis.Platform, Microsoft.CodeAnalysis.ReportDiagnostic, Int32, System.Collections.Generic.IEnumerable1<System.Collections.Generic.KeyValuePair`2<System.String,Microsoft.CodeAnalysis.ReportDiagnostic>>, Boolean, Boolean, Microsoft.CodeAnalysis.XmlReferenceResolver, Microsoft.CodeAnalysis.SourceReferenceResolver, Microsoft.CodeAnalysis.MetadataReferenceResolver, Microsoft.CodeAnalysis.AssemblyIdentityComparer, Microsoft.CodeAnalysis.StrongNameProvider, Boolean, Microsoft.CodeAnalysis.MetadataImportOptions, Microsoft.CodeAnalysis.NullableContextOptions)'._ Xpand-VS2022-1

txt2203 avatar May 13 '22 11:05 txt2203

the model editor u get from the Configure action is for the XpandModelEditor and not for your apps, yes there is a bug once u use but in general u should not need to configure it.

I cannot tell aboiut your exception without exact repro steps or a sample, at my side works fine

apobekiaris avatar May 13 '22 13:05 apobekiaris

Can't download, cannot connect to remote server (I tried several times today) image

vimarx avatar May 13 '22 19:05 vimarx

HI, I managed to install it using Visual studio MarketPlace website. Now Model Editor , starts, open briefly the model windows and dissapears

from the attached log, I look at Type: InvalidProjectFileException Message: The imported project "C:\Program Files\dotnet\sdk\5.0.408\Microsoft\VisualStudio\v17.0\WebApplications\Microsoft.WebApplication.targets" was not found. Confirm that the expression in the Import declaration "C:\Program Files\dotnet\sdk\5.0.408\Microsoft\VisualStudio\v17.0\WebApplications\Microsoft.WebApplication.targets" is correct, and that the file exists on disk. C:\Repos\DesarrolloGit\F2011\PreSolicitud\PresolicitudW.Web\PresolicitudW.Web.vbproj Data: 0 entries Stack trace:

in my PC there is no VisualStudio Folder inside C:\Program Files\dotnet\sdk\5.0.408\Microsoft, and the same for all the other Sdks I have installed.

If I manually starts C:\Users\gmarzioni.VIMARX\AppData\Roaming\Xpand.XAF.ModelEditor.Win\Xpand.XAF.ModelEditor.Win

What else can I try?

Thanks

eXpressAppFramework.log

vimarx avatar May 13 '22 22:05 vimarx

Microsoft.WebApplication.targets

the editor support .NET5 projects and above

apobekiaris avatar May 14 '22 00:05 apobekiaris

but do not even start for mixed solutions?

vimarx avatar May 14 '22 21:05 vimarx

So there is no VS2022 upgrade for the net.framework model editor in vsix for vs2019 ??

vimarx avatar May 14 '22 21:05 vimarx

I am not sure what u mean, but i see no reason to support VS22 and VS19, we should go for VS22

apobekiaris avatar May 14 '22 23:05 apobekiaris

Hi, now failing with error -'cannot connect to remote server' [image: image.png] Gustavo J. Marzioni Vimarx Software Uruguay 467 (2300) Rafaela. Santa Fe. Argentina TE : 03492-290708/290758 NUEVAS! @.*** http:\www.vimarx.com

El vie, 13 may 2022 a la(s) 08:29, Apostolis Bekiaris ( @.***) escribiรณ:

[image: image] https://user-images.githubusercontent.com/159464/168274401-729770bb-9b03-40ae-aca2-ed2ec7dc8457.png

โ€” Reply to this email directly, view it on GitHub https://github.com/eXpandFramework/eXpand/issues/924#issuecomment-1125959120, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABXL4AWAA7DBRMJS4CMGSDVJY4LLANCNFSM5SXDW7SQ . You are receiving this because you authored the thread.Message ID: @.***>

vimarx avatar Oct 11 '22 07:10 vimarx

connect to remote server

the ME editor is download from the Github RX repo. This is about Github connectivity, does it persist?

apobekiaris avatar Oct 11 '22 07:10 apobekiaris

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

.Thank you for your contribution.

expand avatar Jan 20 '24 21:01 expand