File tree Expand file tree Collapse file tree 1 file changed +0
-14
lines changed
src/WebJobs.Script/Description/DotNet Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -171,20 +171,6 @@ private Assembly LoadCore(AssemblyName assemblyName)
171
171
172
172
protected override Assembly Load ( AssemblyName assemblyName )
173
173
{
174
- if ( _sharedContextAssembliesInFallbackLoad . ContainsKey ( assemblyName . Name ) )
175
- {
176
- // Short circuit the probing logic as we're falling back to the original load
177
- // context (from default), so just attempt to load the assembly:
178
- var result = LoadCore ( assemblyName ) ;
179
-
180
- if ( result == null )
181
- {
182
- throw new FileNotFoundException ( $ "Could not load file or assembly '{ assemblyName } '. The system cannot find the file specified.") ;
183
- }
184
-
185
- return result ;
186
- }
187
-
188
174
// Try to load from deps references, if available
189
175
if ( TryLoadDepsDependency ( assemblyName , out Assembly assembly ) )
190
176
{
You can’t perform that action at this time.
0 commit comments