Closed
Description
10:28:07.789 Running test: Interop/DllImportSearchPaths/DllImportSearchPathsTest/DllImportSearchPathsTest.cmd
Return code: 1
Raw output file: C:\h\w\BAE209F2\w\A6D00953\uploads\DllImportSearchPaths\DllImportSearchPathsTest\output.txt
Raw output:
BEGIN EXECUTION
"C:\h\w\BAE209F2\p\corerun.exe" -p "System.Reflection.Metadata.MetadataUpdater.IsSupported=false" -p "System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization=true" DllImportSearchPathsTest.dll
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
---> System.DllNotFoundException: Unable to load DLL 'NativeLibraryWithDependency' or one of its dependencies: The specified module could not be found. (0x8007007E)
at NativeLibraryWithDependency.CallDependencySum(Int32 a, Int32 b)
at NativeLibraryWithDependency.CallDependencySum(Int32 a, Int32 b)
at NativeLibraryWithDependency.Sum(Int32 a, Int32 b)
at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)
--- End of inner exception stack trace ---
at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)
at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at DllImportSearchPathsTest.AssemblyDirectory_SearchFlags_WithDependency_Found()
at __GeneratedMainWrapper.Main()
Expected: 100
Actual: 101
END EXECUTION - FAILED
FAILED
Same as #114594?
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
No status