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

Module.Win can not open ModelEditor #712

Closed CWolffIF closed 4 years ago

CWolffIF commented 4 years ago

After Update to 20.1.303.0 I can not open the Model Editor anymore (not the Devexpress Modeleditor neither the eXpand Modeleditor)

Error1

CWolffIF commented 4 years ago

Sorry, here is the logtext

30.05.20 13:38:15.201 ================================================================================ The error occurred:

Type:       InvalidOperationException
Message:    Exception occurs while initializing the 'Xpand.XAF.Modules.GridListEditor.GridListEditorModule' module: Der Wert darf nicht NULL sein.

Parametername: application Data: 0 entries Stack trace:

bei Xpand.XAF.Modules.Reactive.ReactiveModuleBase.SetupModules(ApplicationModulesManager applicationModulesManager) bei Xpand.XAF.Modules.Reactive.ReactiveModuleBase.SetupModulesPatch(ApplicationModulesManager __instance) bei DMD<DMD?61620968::SetupModules_Patch1>(ApplicationModulesManager this) bei DevExpress.ExpressApp.ApplicationModulesManager.Load(ITypesInfo typesInfo, Boolean loadTypesInfo) bei DevExpress.ExpressApp.Utils.DesignerModelFactory.CreateModulesManager(ModuleBase module, String assembliesPath, List`1 additionalModules, ISecurityStrategyBase securityInstance) bei DevExpress.ExpressApp.Design.ModelEditor.ModelLoader.LoadModel(ITypeDiscoveryService typeDiscoveryService, ITypeResolutionService typeResolutionService, String targetDiffFileName, IDisposable& obj) bei DevExpress.ExpressApp.Design.ModelEditor.EditorPane.CreateModelEditorController() bei DevExpress.ExpressApp.Design.ModelEditor.EditorPane.PrivateInit(String fileName, ProjectItem currentProjectItem, IVsHierarchy pvHier)

InnerException:

        Type:       ArgumentNullException
        Message:    Der Wert darf nicht NULL sein.

Parametername: application Data: 0 entries Stack trace:

bei Xpand.XAF.Modules.Reactive.Extensions.CommonExtensions.Retry[T](IObservable`1 source, XafApplication application) bei Xpand.XAF.Modules.GridListEditor.GridListEditorService.Connect(XafApplication application) bei Xpand.XAF.Modules.GridListEditor.GridListEditorModule.Setup(ApplicationModulesManager moduleManager) bei Xpand.XAF.Modules.Reactive.ReactiveModuleBase.SetupModules(ApplicationModulesManager applicationModulesManager) InnerException is null

expand commented 4 years ago

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. For all other issues the posting time is respected.

  1. ❇️ Exclusive-Services
    1. ❤ Bronze Sponsor
    2. ❤ Sponsor
    3. ❤ Backer
    4. Installation
    5. ShowStopper
    6. Nuget
    7. Contribution
    8. BreakingChange
    9. ReproSample
    10. Deployment
    11. must-have

This case is prioritized.

expand commented 4 years ago

The pre-release 2.201.6.1 in the DevExpress.XAF lab branch includes commits that relate to this task:

To minimize version conflicts we recommend that you use the Xpand.XAF.Core.All, Xpand.XAF.Win.All, Xpand.XAF.Web.All packages. Doing so, all packages will be at your disposal and .NET will add a dependecy only to those packages that you actually use and not to all.

Released packages: 1. [Xpand.Extensions v.2.201.31](https://github.com/eXpandFramework/DevExpress.XAF/tree/master/src/Extensions/Xpand.Extensions) 1. [Xpand.Extensions.Mono.Cecil v.2.201.30](https://github.com/eXpandFramework/DevExpress.XAF/tree/master/src/Extensions/Xpand.Extensions.Mono.Cecil) 1. [Xpand.Extensions.Office.Cloud v.2.201.30.1](https://github.com/eXpandFramework/DevExpress.XAF/tree/master/src/Extensions/Xpand.Extensions.Office.Cloud) 1. [Xpand.Extensions.Office.Cloud.Microsoft v.2.201.30.1](https://github.com/eXpandFramework/DevExpress.XAF/tree/master/src/Extensions/Xpand.Extensions.Office.Cloud.Microsoft) 1. [Xpand.Extensions.Reactive v.2.201.31.1](https://github.com/eXpandFramework/DevExpress.XAF/tree/master/src/Extensions/Xpand.Extensions.Reactive) 1. [Xpand.Extensions.XAF v.2.201.31.1](https://github.com/eXpandFramework/DevExpress.XAF/tree/master/src/Extensions/Xpand.Extensions.XAF) 1. [Xpand.Extensions.XAF.Xpo v.2.201.31](https://github.com/eXpandFramework/DevExpress.XAF/tree/master/src/Extensions/Xpand.Extensions.XAF.Xpo) 1. [Xpand.XAF.Core.All v.2.201.30.1](https://github.com/eXpandFramework/DevExpress.XAF/tree/master/src/Modules) 1. [Xpand.XAF.Modules.AutoCommit v.2.201.31.1](https://github.com/eXpandFramework/DevExpress.XAF/tree/master/src/Modules/AutoCommit) 1. [Xpand.XAF.Modules.CloneMemberValue v.2.201.31.1](https://github.com/eXpandFramework/DevExpress.XAF/tree/master/src/Modules/CloneMemberValue) 1. [Xpand.XAF.Modules.CloneModelView v.2.201.31.1](https://github.com/eXpandFramework/DevExpress.XAF/tree/master/src/Modules/CloneModelView) 1. [Xpand.XAF.Modules.GridListEditor v.2.201.31.2](https://github.com/eXpandFramework/DevExpress.XAF/tree/master/src/Modules/GridListEditor) 1. [Xpand.XAF.Modules.HideToolBar v.2.201.31.1](https://github.com/eXpandFramework/DevExpress.XAF/tree/master/src/Modules/HideToolBar) 1. [Xpand.XAF.Modules.LookupCascade v.2.201.33.1](https://github.com/eXpandFramework/DevExpress.XAF/tree/master/src/Modules/LookupCascade) 1. [Xpand.XAF.Modules.MasterDetail v.2.201.31.1](https://github.com/eXpandFramework/DevExpress.XAF/tree/master/src/Modules/MasterDetail) 1. [Xpand.XAF.Modules.ModelMapper v.2.201.31.1](https://github.com/eXpandFramework/DevExpress.XAF/tree/master/src/Modules/ModelMapper) 1. [Xpand.XAF.Modules.ModelViewInheritance v.2.201.31.1](https://github.com/eXpandFramework/DevExpress.XAF/tree/master/src/Modules/ModelViewInheritance) 1. [Xpand.XAF.Modules.Office.Cloud.Microsoft.Todo v.2.201.2.1](https://github.com/eXpandFramework/DevExpress.XAF/tree/master/src/Modules/Office.Cloud.Microsoft.Todo) 1. [Xpand.XAF.Modules.OneView v.2.201.31.1](https://github.com/eXpandFramework/DevExpress.XAF/tree/master/src/Modules/OneView) 1. [Xpand.XAF.Modules.PositionInListView v.2.201.2.3](https://github.com/eXpandFramework/DevExpress.XAF/tree/master/src/Modules/PositionInListView) 1. [Xpand.XAF.Modules.ProgressBarViewItem v.2.201.31.1](https://github.com/eXpandFramework/DevExpress.XAF/tree/master/src/Modules/ProgressBarViewItem) 1. [Xpand.XAF.Modules.Reactive v.2.201.31.1](https://github.com/eXpandFramework/DevExpress.XAF/tree/master/src/Modules/Reactive) 1. [Xpand.XAF.Modules.Reactive.Logger v.2.201.31.1](https://github.com/eXpandFramework/DevExpress.XAF/tree/master/src/Modules/Reactive.Logger) 1. [Xpand.XAF.Modules.Reactive.Logger.Client.Win v.2.201.31.1](https://github.com/eXpandFramework/DevExpress.XAF/tree/master/src/Modules/Reactive.Logger.Client.Win) 1. [Xpand.XAF.Modules.Reactive.Logger.Hub v.2.201.31.1](https://github.com/eXpandFramework/DevExpress.XAF/tree/master/src/Modules/Reactive.Logger.Hub) 1. [Xpand.XAF.Modules.Reactive.Win v.2.201.31.1](https://github.com/eXpandFramework/DevExpress.XAF/tree/master/src/Modules/Reactive.Win) 1. [Xpand.XAF.Modules.RefreshView v.2.201.31.1](https://github.com/eXpandFramework/DevExpress.XAF/tree/master/src/Modules/RefreshView) 1. [Xpand.XAF.Modules.SequenceGenerator v.2.201.31.1](https://github.com/eXpandFramework/DevExpress.XAF/tree/master/src/Modules/SequenceGenerator) 1. [Xpand.XAF.Modules.SuppressConfirmation v.2.201.31.1](https://github.com/eXpandFramework/DevExpress.XAF/tree/master/src/Modules/SuppressConfirmation) 1. [Xpand.XAF.Modules.ViewEditMode v.2.201.31.1](https://github.com/eXpandFramework/DevExpress.XAF/tree/master/src/Modules/ViewEditMode) 1. [Xpand.XAF.Web.All v.2.201.30.1](https://github.com/eXpandFramework/DevExpress.XAF/tree/master/src/Modules) 1. [Xpand.XAF.Win.All v.2.201.30.1](https://github.com/eXpandFramework/DevExpress.XAF/tree/master/src/Modules)

Please update the related Nuget packages and test if issues is addressed. These are nightly nuget packages available only from our NugetServer.

If you do not use these packages directly but through a module of the main eXpandFramework project, please wait for the bot to notify you again when integration is finished or update the related packages manually.

Thanks a lot for your contribution.

expand commented 4 years ago

eXpand.lab release 20.1.303.1 includes commit that relate to this task:

Please test if it addresses the problem. If you use nuget add our LAB NugetServer as a nuget package source in VS.

To minimize version conflicts we recommend that you switch to PackageReference format and use only the eXpandAgnostic, eXpandWin, eXpandWeb packages. Doing so, all packages will be at your disposal and .NET will add a dependecy only to those packages that you actually use and not to all.

Thanks a lot for your contribution.

CWolffIF commented 4 years ago

I tested it. ModelEditor works. Big Thanx for the very fast solution!

There is only a little error in the installation script for building Uninstall-Xpand.ps1

Downloading VSIX from https://github.com/eXpandFramework/eXpand.lab/releases/download/20.1.303.1/Xpand.VSIX-20.1.303.1.vsix into C:\Tools\eXpandFramework201303
Download VSIX bootstrapper
Installing VSIX
Creating Uninstall-Xpand.ps1
Exception calling "DownloadFile" with "2" argument(s): "Der angegebene Host ist unbekannt Der angegebene Host ist unbekannt"
At C:\Tools\eXpandFramework201303\InstallXpand.ps1:149 char:5
+     $client.DownloadFile("https://raw.githubusercontent.com/eXpandFra ...
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : NotSpecified: (:) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : WebException
CWolffIF commented 4 years ago

Tested it again. Works.

expand commented 4 years ago

eXpand.lab release 20.1.400.0 includes commit that relate to this task:

Please test if it addresses the problem. If you use nuget add our LAB NugetServer as a nuget package source in VS.

To minimize version conflicts we recommend that you switch to PackageReference format and use only the eXpandAgnostic, eXpandWin, eXpandWeb packages. Doing so, all packages will be at your disposal and .NET will add a dependecy only to those packages that you actually use and not to all.

Thanks a lot for your contribution.