Skip to content

Test failure: Interop/DllImportSearchPaths/DllImportSearchPathsTest/DllImportSearchPathsTest.cmd #114595

Closed
@BruceForstall

Description

@BruceForstall

https://dev.azure.com/dnceng-public/public/_build/results?buildId=1014416&view=ms.vss-test-web.build-test-results-tab

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

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions