diff options
Diffstat (limited to 'tests/src/Loader/ContextualReflection/ContextualReflection.csproj')
-rw-r--r-- | tests/src/Loader/ContextualReflection/ContextualReflection.csproj | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/src/Loader/ContextualReflection/ContextualReflection.csproj b/tests/src/Loader/ContextualReflection/ContextualReflection.csproj index 6f88de3877..27dd6ee019 100644 --- a/tests/src/Loader/ContextualReflection/ContextualReflection.csproj +++ b/tests/src/Loader/ContextualReflection/ContextualReflection.csproj @@ -8,6 +8,10 @@ <OutputType>Exe</OutputType> <CLRTestKind>BuildAndRun</CLRTestKind> <ProjectGuid>{78030DC5-F1A6-4B98-A130-A66F5047FF29}</ProjectGuid> + <!-- The test uses AssemblyLoadContext (directly) to load the test assembly and its dependency that's part of the test again. + When the test is loaded into an unloadable context in the runincontext tool, the dependency assembly cannot be found + since it is in a different folder than the runincontext tool. --> + <UnloadabilityIncompatible>true</UnloadabilityIncompatible> </PropertyGroup> <ItemGroup> <Compile Include="ContextualReflection.cs" /> |