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

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

Closed vimarx closed 8 months ago

vimarx commented 2 years ago

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?

apobekiaris commented 2 years ago

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?

txt2203 commented 2 years ago

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

apobekiaris commented 2 years ago

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

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

vimarx commented 2 years ago

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?

apobekiaris commented 2 years ago

image

txt2203 commented 2 years ago

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

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, 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

apobekiaris commented 2 years ago

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

vimarx commented 2 years ago

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

vimarx commented 2 years ago

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

apobekiaris commented 2 years ago

Microsoft.WebApplication.targets

the editor support .NET5 projects and above

vimarx commented 2 years ago

but do not even start for mixed solutions?

vimarx commented 2 years ago

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

apobekiaris commented 2 years ago

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

vimarx commented 1 year ago

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: @.***>

apobekiaris commented 1 year ago

connect to remote server

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

expand commented 8 months ago

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

.Thank you for your contribution.