These are excluded in issues.targets, but we shouldn't even build them.
<ExcludeList Include="$(XunitTestBinBase)/Loader/ContextualReflection/ContextualReflection/*">
<Issue>https://github.com/dotnet/runtimelab/issues/165</Issue>
</ExcludeList>
- <ExcludeList Include="$(XunitTestBinBase)/profiler/**/*">
- <Issue>CoreCLR test</Issue>
- </ExcludeList>
- <ExcludeList Include="$(XunitTestBinBase)/readytorun/**/*">
- <Issue>CoreCLR test</Issue>
- </ExcludeList>
<ExcludeList Include="$(XunitTestBinBase)/reflection/Modifiers/modifiers/*">
<Issue>https://github.com/dotnet/runtimelab/issues/201</Issue>
</ExcludeList>
--- /dev/null
+<Project>
+ <Import Project="$([MSBuild]::GetPathOfFileAbove(Directory.Build.props, $(MSBuildThisFileDirectory)..))" />
+
+ <PropertyGroup>
+ <NativeAotIncompatible>true</NativeAotIncompatible>
+ </PropertyGroup>
+</Project>
--- /dev/null
+<Project>
+ <Import Project="$([MSBuild]::GetPathOfFileAbove(Directory.Build.props, $(MSBuildThisFileDirectory)..))" />
+
+ <PropertyGroup>
+ <NativeAotIncompatible>true</NativeAotIncompatible>
+ </PropertyGroup>
+</Project>