Skip to content

Commit 10a2807

Browse files
author
Sergey Komisarchik
committed
post-review changes
1 parent 167fdd8 commit 10a2807

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Serilog.Settings.Configuration/Settings/Configuration/ConfigurationReader.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,10 +177,10 @@ string[] GetSerilogConfigurationAssemblies()
177177
else
178178
{
179179
#if APPDOMAIN
180-
query = from outputAssemblyPath in System.IO.Directory.GetFiles(AppDomain.CurrentDomain.BaseDirectory, "*.dll", System.IO.SearchOption.AllDirectories)
180+
query = from outputAssemblyPath in System.IO.Directory.GetFiles(AppDomain.CurrentDomain.BaseDirectory, "*.dll")
181181
let assemblyFileName = System.IO.Path.GetFileNameWithoutExtension(outputAssemblyPath)
182182
where filter(assemblyFileName)
183-
select Assembly.ReflectionOnlyLoadFrom(outputAssemblyPath).GetName().FullName;
183+
select AssemblyName.GetAssemblyName(outputAssemblyPath).FullName;
184184
#endif
185185
}
186186

0 commit comments

Comments
 (0)