File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
src/PowerShellEditorServices.Hosting Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -119,7 +119,7 @@ public static EditorServicesLoader Create(
119
119
{
120
120
logger . Log (
121
121
PsesLogLevel . Diagnostic ,
122
- $ "Loaded { args . LoadedAssembly . GetName ( ) } ") ;
122
+ $ "Loaded ' { args . LoadedAssembly . GetName ( ) } ' from ' { args . LoadedAssembly . Location } ' ") ;
123
123
} ;
124
124
}
125
125
@@ -135,16 +135,16 @@ public static EditorServicesLoader Create(
135
135
string baseDirAsmPath = Path . Combine ( s_psesBaseDirPath , dllName ) ;
136
136
if ( File . Exists ( baseDirAsmPath ) )
137
137
{
138
- logger . Log ( PsesLogLevel . Diagnostic , $ "Loading { args . Name } from PSES base dir into LoadFrom context") ;
139
- return Assembly . LoadFrom ( baseDirAsmPath ) ;
138
+ logger . Log ( PsesLogLevel . Diagnostic , $ "Loading { args . Name } from PSES base dir into LoadFile context") ;
139
+ return Assembly . LoadFile ( baseDirAsmPath ) ;
140
140
}
141
141
142
142
// Then look in the shared .NET Standard directory
143
143
string asmPath = Path . Combine ( s_psesDependencyDirPath , dllName ) ;
144
144
if ( File . Exists ( asmPath ) )
145
145
{
146
- logger . Log ( PsesLogLevel . Diagnostic , $ "Loading { args . Name } from PSES dependency dir into LoadFrom context") ;
147
- return Assembly . LoadFrom ( asmPath ) ;
146
+ logger . Log ( PsesLogLevel . Diagnostic , $ "Loading { args . Name } from PSES dependency dir into LoadFile context") ;
147
+ return Assembly . LoadFile ( asmPath ) ;
148
148
}
149
149
150
150
return null ;
You can’t perform that action at this time.
0 commit comments