eXpandFramework / eXpand

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

How to prevent regeneration of modelassembly? #842

Closed james1o4timothy closed 3 years ago

james1o4timothy commented 3 years ago

Hello,I am new to expand framework. I created a new project added expand win all nugets.Then removed world creator modules from required module list. Application runs but I noticed that modelassembly.DLL is always created even on subsequent runs in release mode. Is this the expected behavior of expand or there is something wrong on my side?

apobekiaris commented 3 years ago

check the front end project once u use designers by default they register modules to the front end application, i recomend u never touch designers, they take initiatives that are hidden

james1o4timothy commented 3 years ago

I manually registered the expand assemblies to my module project. They don't exist in the frontend project. You labeled it world creator but I removed world creator modules and am not using them anywhere. Just create a new project. Add expandWin nugets.I removed world creator because I don't plan to use it.

apobekiaris commented 3 years ago

hmm no expand does/should not mess up the default XAF behaviour, please provide a sample to be examined

james1o4timothy commented 3 years ago

Sample.zip

apobekiaris commented 3 years ago

prioritizing as:

  1. ReproSample

note: researching this can take a while to users without active subscription

apobekiaris commented 3 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.

james1o4timothy commented 3 years ago

Researched this issue and traced it to Expand masterdetailmodule. Checked the implementation and there is nothing wrong.The issue exists in earlier versions of expand.(went as far back as 18.2.7) they are just a little bit faster.avoiding the module prevents regeneration.With today's PCs apps will still start in less than 50 seconds with regeneration of the assembly. So I am closing the issue