-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Request: RegisterNativeDependency on directories #159
Comments
What would be the contents for this directory? If it's just native dll's it should be straightforward to call the existing function on all enumerated contents. If there's other stuff inside, RND is not an appropriate functionality. For this type of application I usually upload all the contents as a zip archive to blob storage, then download and extract the contents on each worker on-demand; I also wrap that logic inside a |
For the application I saw, it would be a massive mix of native DLLs, config files, data files, and goodness knows what else. Basically a situation where some native DLLs expect some data/config files in specific locations relative to their installation point. |
So basically the expectation would be to have those files exracted locally in a location inside PATH? |
Thanks for your response, yes I think that's what you're saying. Say in a "bin" folder there is a loader.dll that requires upon startup that a loader.config be found at relative path "conf", it would be useful to be able to say something like |
@kxxr I know this is sometime back but if you would like to consider submitting a PR for this it would be most welcome. |
@dsyme I'd be glad to help on this and other issues but am currently on holiday and was also focusing on other interests for the time being... will mention this to Adam though who may well be more in the loop |
RegisterNativeDependency works well on individual files. However we also have scenarios where we need to register a whole directory structure of native files and other data. Would it be possible to make RND accept a directory as an argument, copying the whole directory structure across recursively? Or to have RND accept an optional parameter which is a target subdirectory for a file?
The text was updated successfully, but these errors were encountered: