Prism icon indicating copy to clipboard operation
Prism copied to clipboard

Can the DirectoryModuleCatalog lookup DLL be changed to all subdirectories?

Open BoyFaceGirl opened this issue 2 years ago • 1 comments

Summary

https://github.com/PrismLibrary/Prism/blob/bf0966af97a7dd16141ed3b3c3cfc784ff5e0cb7/src/Wpf/Prism.Wpf/Modularity/DirectoryModuleCatalog.netcore.cs#L102C33-L102C51

The module DLL may exist in some subdirectories, and the current search method cannot find the DLL

e.g.

var fileInfos = directory.GetFiles("*.dll",SearchOption.AllDirectories)

BoyFaceGirl avatar Aug 16 '23 09:08 BoyFaceGirl

This would not be implemented as you have here, but maybe via an exposed property to control the options. Would you like to submit a PR?

brianlagunas avatar Aug 16 '23 15:08 brianlagunas