File tree 2 files changed +10
-1
lines changed
Interop/DllImportSearchPaths 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 10
10
public class DllImportSearchPathsTest
11
11
{
12
12
private static string Subdirectory => Path . Combine ( NativeLibraryToLoad . GetDirectory ( ) , "subdirectory" ) ;
13
+ private static bool CanLoadAssemblyInSubdirectory =>
14
+ ! TestLibrary . Utilities . IsMonoLLVMFULLAOT &&
15
+ ! OperatingSystem . IsAndroid ( ) &&
16
+ ! OperatingSystem . IsIOS ( ) &&
17
+ ! OperatingSystem . IsTvOS ( ) &&
18
+ ! OperatingSystem . IsBrowser ( ) ;
13
19
14
20
static int Main ( string [ ] args )
15
21
{
16
22
try
17
23
{
18
24
AssemblyDirectory_NotFound ( ) ;
19
- if ( ! TestLibrary . Utilities . IsMonoLLVMFULLAOT )
25
+ if ( CanLoadAssemblyInSubdirectory )
20
26
AssemblyDirectory_Found ( ) ;
21
27
22
28
if ( OperatingSystem . IsWindows ( ) )
Original file line number Diff line number Diff line change 2895
2895
<ExcludeList Include = " $(XunitTestBinBase)/JIT/Regression/JitBlue/DevDiv_461649/DevDiv_461649/**" >
2896
2896
<Issue >https://github.com/dotnet/runtime/issues/53353</Issue >
2897
2897
</ExcludeList >
2898
+ <ExcludeList Include =" $(XunitTestBinBase)/Interop/DllImportSearchPaths/DllImportSearchPathsTest/**" >
2899
+ <Issue >Loads an assembly from file</Issue >
2900
+ </ExcludeList >
2898
2901
</ItemGroup >
2899
2902
2900
2903
<ItemGroup Condition =" $(TargetOS) == 'Android' And '$(TargetArchitecture)' == 'arm64' " >
You can’t perform that action at this time.
0 commit comments