Remove unnecessary ToList() call.
Setting AppDomain base directory.