Closed hyzx86 closed 6 months ago
I'm not sure I completely understand. Are you looking for a way to be able to swap out the Orchard Core package that module projects used by your application depend on? E.g., the module A depends on OC v.1.8.0, but you want it to use 1.9.0-preview-18189 quickly? Can you provide examples?
A few notes about the topic that may help you and solve this without anything required in Orchard Core:
Hi @Piedone , Thank you for sharing!
Our repositry is https://github.com/EasyOC/EasyOC
We reference of OC‘s architecture , it also can quickly adjust package version of OC, and implemented similar OrchardCore.Application.Cms.Targets.csproj
structure of the project.
So far these business modules are relatively stable, but in turn we have to update common modules frequently, such as components that are re-implemented in a way that overwrites the OC's original interface. Now we plan to separate these business modules.
We currently use git submodules integration method to integrate these business modules into our project.
Thanks for the reply, it occurred to me while writing the reply that we should really put our generic modules on the package management server and then create separate solutions for different businesses
The repository has not been updated for a long time because it currently includes some business modules 😅
OK then! BTW we use submodules in a similar way in this solution too: https://github.com/Lombiq/Open-Source-Orchard-Core-Extensions.
Yeah, I've seen this project, too 🤣
Mention this, because accessing github from China is a bit of a hassle, I made an OC mirror repository here
Is your feature request related to a problem? Please describe.
Sometimes, we encounter issues that require using the source code debugging capabilities of
OrchardCore
, but most business modules are stored in their own repositories, making it difficult to quickly switch to the preview branch through the debugging features to locate issues.Remember that we mentioned about the development of dynamic loading external libraries, but at that time our purpose was just to dynamically load. However, we discovered that if you load after that, you may not be able to completely uninstall already loaded into memory library classes.
Describe the solution you'd like
appsettings.json
, add corresponding configuration items for external class library saving location. It might be an array, just like NuGet.Config. We may need to search from multiple paths to find the package.GitExtensions
doesDescribe alternatives you've considered
No