eXpandFramework / eXpand

DevExpress XAF (eXpressApp) extension framework. 𝗹𝗶𝗻𝗸𝗲𝗱𝗶𝗻.𝗲𝘅𝗽𝗮𝗻𝗱𝗳𝗿𝗮𝗺𝗲𝘄𝗼𝗿𝗸.𝗰𝗼𝗺, 𝘆𝗼𝘂𝘁𝘂𝗯𝗲.𝗲𝘅𝗽𝗮𝗻𝗱𝗳𝗿𝗮𝗺𝗲𝘄𝗼𝗿𝗸.𝗰𝗼𝗺 and 𝘁𝘄𝗶𝘁𝘁𝗲𝗿 @𝗲𝘅𝗽𝗮𝗻𝗱𝗳𝗿𝗮𝗺𝗲𝘄𝗼𝗿𝗸 and or simply 𝗦𝘁𝗮𝗿/𝘄𝗮𝘁𝗰𝗵 this repository and get notified from 𝗚𝗶𝘁𝗛𝘂𝗯
http://expand.expandframework.com
Microsoft Public License
221 stars 115 forks source link

ModelMapper generation happens too often #785

Closed apobekiaris closed 2 years ago

apobekiaris commented 4 years ago

according to the wiki it happens when

  1. If the assembly does not exist in path.
  2. If the ModelMapper module ModuleVersionId changed.
  3. If any of the mapped types assembly ModuleVersionId changed.
  4. If Mapping customization changed. (Read more on How to customize a Map)

However it is possible to detect if a custom map is used and if not avoid generation checking again XAF or Xpand version of the existing assembly.

apobekiaris commented 4 years ago

additionally it should also be same trivial to generate two assemblies one for the predefined and one for the custom. The predefined mapping which is slow, will happen only once and only when u upgrade or not found in path

apobekiaris commented 4 years ago

this encasement will also improve the design time experience and probably hidden configuration problems like the one @dsikic has at #778

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.

apobekiaris commented 3 years ago

Issue is deprioritized as no Assignee found and scheduled for auto-close if no activity in the next 60 days. Thanks a lot for your contribution.

apobekiaris commented 3 years ago

The pre-release 2.201.22.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 (see the Modules installation-registrations youtube video).

Released packages: Xpand.Extensions v.4.202.44.1
Xpand.Extensions.Blazor v.4.202.44.1
Xpand.Extensions.Mono.Cecil v.4.202.44.1
Xpand.Extensions.Office.Cloud v.4.202.44.1
Xpand.Extensions.Office.Cloud.Google.Blazor v.4.202.44.1
Xpand.Extensions.Reactive v.4.202.44.1
Xpand.Extensions.XAF v.4.202.44.1
Xpand.Extensions.XAF.Xpo v.4.202.44.1
Xpand.XAF.Core.All v.4.202.44.1
Xpand.XAF.Modules.AutoCommit v.4.202.44.1
Xpand.XAF.Modules.CloneMemberValue v.4.202.44.1
Xpand.XAF.Modules.CloneModelView v.4.202.44.1
Xpand.XAF.Modules.GridListEditor v.4.202.44.1
Xpand.XAF.Modules.HideToolBar v.4.202.44.1
Xpand.XAF.Modules.JobScheduler.Hangfire v.4.202.44.1
Xpand.XAF.Modules.LookupCascade v.4.202.44.1
Xpand.XAF.Modules.MasterDetail v.4.202.44.1
Xpand.XAF.Modules.ModelMapper v.4.202.44.1
Xpand.XAF.Modules.ModelViewInheritance v.4.202.44.1
Xpand.XAF.Modules.Office.Cloud.Google v.4.202.44.1
Xpand.XAF.Modules.Office.Cloud.Google.Calendar v.4.202.44.1
Xpand.XAF.Modules.Office.Cloud.Google.Tasks v.4.202.44.1
Xpand.XAF.Modules.Office.Cloud.Microsoft v.4.202.44.1
Xpand.XAF.Modules.Office.Cloud.Microsoft.Calendar v.4.202.44.1
Xpand.XAF.Modules.Office.Cloud.Microsoft.Todo v.4.202.44.1
Xpand.XAF.Modules.Office.DocumentStyleManager v.4.202.44.1
Xpand.XAF.Modules.OneView v.4.202.44.1
Xpand.XAF.Modules.PositionInListView v.4.202.44.1
Xpand.XAF.Modules.ProgressBarViewItem v.4.202.44.1
Xpand.XAF.Modules.Reactive v.4.202.44.1
Xpand.XAF.Modules.Reactive.Logger v.4.202.44.1
Xpand.XAF.Modules.Reactive.Logger.Client.Win v.4.202.44.1
Xpand.XAF.Modules.Reactive.Logger.Hub v.4.202.44.1
Xpand.XAF.Modules.RefreshView v.4.202.44.1
Xpand.XAF.Modules.SequenceGenerator v.4.202.44.1
Xpand.XAF.Modules.SuppressConfirmation v.4.202.44.1
Xpand.XAF.Modules.ViewEditMode v.4.202.44.1
Xpand.XAF.Modules.ViewItemValue v.4.202.44.1
Xpand.XAF.Modules.ViewWizard v.4.202.44.1
Xpand.XAF.Web.All v.4.202.44.1
Xpand.XAF.Win.All v.4.202.44.1

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

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

.Thank you for your contribution.