Attempting to use custom NLog target for execution logs - Could not load file or assembly

Hi,
I’m trying to use a custom NLog target that post-processes Execution logs and sends them to our dashboard tool. I tried putting the log target assembly in the appdata\Local\Programs\UiPath\Studio folder (where NLog.config and NLog.dll reside) and referenced the assembly in NLog.config.

When execution starts, NLog tries to load the assembly, but fails:

2023-02-09 13:30:39.5790 Warn Error has been raised. Exception: NLog.NLogConfigurationException: Error loading extensions: NLog.CustomTargetTest
 ---> System.IO.FileNotFoundException: Could not load file or assembly 'NLog.CustomTargetTest, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.
File name: 'NLog.CustomTargetTest, Culture=neutral, PublicKeyToken=null'

This particular example uses a barebones assembly I made for testing, with no depedencies, as I first thought that referenced dependencies could be the problem.

It seems NLog.dll is loaded by UiPath.Executor.exe, which is also in the same directory. Any clues as to why the current working directory is not included in the application context’s search path?