eXpand icon indicating copy to clipboard operation
eXpand copied to clipboard

[23.1] Can not open ModelDifference detailview

Open Kagandaj opened this issue 2 years ago • 2 comments

𝗧𝗼 𝗥𝗲𝗽𝗿𝗼𝗱𝘂𝗰𝗲

  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.<>c__DisplayClass12_0.<GetMasterModel>b__0() at Xpand.Utils.Helpers.Retry.<>c__DisplayClass0_0.<Do>b__0() at Xpand.Utils.Helpers.Retry.Do[T](Func`1 action, TimeSpan retryInterval, Int32 retryCount)

Kagandaj avatar Sep 05 '23 16:09 Kagandaj

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 avatar Nov 06 '23 11:11 apobekiaris

attaching my test project for reference DXApplication1.zip

apobekiaris avatar Nov 06 '23 11:11 apobekiaris

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

.Thank you for your contribution.

expand avatar Mar 07 '24 21:03 expand