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

[23.1] Can not open ModelDifference detailview #1018

Closed Kagandaj closed 6 months ago

Kagandaj commented 1 year ago

𝗧𝗼 𝗥𝗲𝗽𝗿𝗼𝗱𝘂𝗰𝗲

  1. Create new xaf win application (dx_23.1)
  2. Add eXpandModelDifferenceWin
  3. Run application navigate to application settings
  4. select one entry and open detailview
  5. error

Sequence contains no elements

at System.Linq.ThrowHelper.ThrowNoElementsException() at Xpand.Extensions.XAF.ApplicationModulesManagerExtensions.ApplicationModulesManagerExtensions.Application(ApplicationModulesManager manager) at Xpand.Extensions.XAF.ApplicationModulesManagerExtensions.ApplicationModulesManagerExtensions.CreateModel(ApplicationModulesManager manager, IEnumerable1 aspects, ModelStoreBase modelDifferenceStore) at Xpand.Persistent.Base.ModelDifference.ModelBuilder.BuildModel(XafApplication application, String configFileName, XpandApplicationModulesManager applicationModulesManager) at Xpand.Persistent.Base.ModelDifference.ModelBuilder.Build(Boolean rebuild) at Xpand.Persistent.Base.ModelDifference.ModelLoader.GetMasterModelCore(Boolean rebuild) at Xpand.Persistent.Base.ModelDifference.ModelLoader.GetMasterModel(XafApplication xafApplication, Action1 action) at Xpand.Persistent.Base.ModelDifference.ModelLoader.<>cDisplayClass12_0.b0() at Xpand.Utils.Helpers.Retry.<>cDisplayClass0_0.b0() at Xpand.Utils.Helpers.Retry.Do[T](Func`1 action, TimeSpan retryInterval, Int32 retryCount)

apobekiaris commented 10 months ago

eXpand.lab release 23.1.601.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 (see the Modules installation-registrations youtube video).

Thanks a lot for your contribution.

apobekiaris commented 10 months ago

attaching my test project for reference DXApplication1.zip

expand commented 6 months ago

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

.Thank you for your contribution.