Added support for a ExtraConfigFiles setting#7
Conversation
…clude more files in the list. Updated version accordingly. Custom items can be added with a key like this added to appSettings in web.config. <add key="ExtraConfigFiles" value=".HTACCESS=../.htaccess,Robots.txt=../robots.txt" />
|
Thanks @pynej, it's very much appreciated! There's a couple of things that I want to comment on before merging in. I'll do those on the code changes. |
There was a problem hiding this comment.
Why bump the version number up to v3.5.0?
We'd like to go with v3.2.0.
|
Lol, apparently I can't count. |
|
@pynej ow wildcard matches is a great idea, that way you could add one that looks for all config files on the app_plugins dir |
|
+1 If we could find a way to have a wildcard matches across all sub-folders that would be great. 😎 Then the "ExtraConfigFiles" config value could be a comma-separated list of file-extensions; e.g. ".config,.htaccess,robots.txt" (Although "ExtraConfigFiles" might not be the best name for this). |
|
Should be able to set up the code to handle items like this. (relative to /config for as thats where the main package tree list listing items from.) key="ExtraConfigFiles" value="../.htaccess,../Views/.config,../App_Plugins//package.manifest,../App_Data/*/.xml" Witch supports the following as illustrated in order listed above:
The code would look something like: |
Added support for a ExtraConfigFiles setting so users can manually include more files in the list.
Updated version accordingly.
Custom items can be added with a key like this added to appSettings in web.config.