Skip to content

Commit d19ea9a

Browse files
committed
Fix the path of the runtime list for testing.
1 parent 46431f2 commit d19ea9a

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/Framework/test/Microsoft.AspNetCore.App.UnitTests.csproj

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,12 @@
1111
</PropertyGroup>
1212

1313
<ItemGroup>
14-
<!-- Grab RuntimeList.xml because it's not placed in the .dotnet/ folder. -->
15-
<None Include="$(ArtifactsObjDir)Microsoft.AspNetCore.App.Runtime\RuntimeList.xml"
14+
<!--
15+
Grab RuntimeList.xml because it's not placed in the .dotnet/ folder.
16+
This depends on internal implementation details of the SharedFramework SDK and should be changed to use a supported mechanism
17+
to discover the runtime list.
18+
-->
19+
<None Include="$(ArtifactsObjDir)Microsoft.AspNetCore.App.Runtime\$(Configuration)\$(DefaultNetCoreTargetFramework)\$(TargetRuntimeIdentifier)\RuntimeList.xml"
1620
CopyToOutputDirectory="PreserveNewest" />
1721

1822
<!-- Ignore aspnetcorev2_inprocess because tests expect only managed assemblies in this item group. -->

0 commit comments

Comments
 (0)