Skip to content

Commit

Permalink
Move portable RID graph into runtime and clean-up
Browse files Browse the repository at this point in the history
1. Move portable RID graph into runtime
2. Allow updates to both the non-portable and portable RID graphs under
   source build.
3. Clean-up project and remove hacks
  • Loading branch information
ViktorHofer committed Sep 18, 2023
1 parent bc97b0a commit 2f5eb8f
Show file tree
Hide file tree
Showing 19 changed files with 572 additions and 13,689 deletions.
7 changes: 7 additions & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -471,4 +471,11 @@
<CustomBeforeNoTargets>$(RepositoryEngineeringDir)NoTargetsSdk.BeforeTargets.targets</CustomBeforeNoTargets>
<CustomAfterTraversalTargets>$(RepositoryEngineeringDir)TraversalSdk.AfterTargets.targets</CustomAfterTraversalTargets>
</PropertyGroup>

<PropertyGroup>
<!-- Keep in sync with outputs defined in Microsoft.NETCore.Platforms.csproj. -->
<BundledRuntimeIdentifierGraphFile>$([MSBuild]::NormalizePath('$(ArtifactsBinDir)', 'Microsoft.NETCore.Platforms', 'runtime.json'))</BundledRuntimeIdentifierGraphFile>
<BundledRuntimeIdentifierGraphFile Condition="!Exists('$(BundledRuntimeIdentifierGraphFile)')">$([MSBuild]::NormalizePath('$(LibrariesProjectRoot)', 'Microsoft.NETCore.Platforms', 'src', 'runtime.json'))</BundledRuntimeIdentifierGraphFile>
</PropertyGroup>

</Project>
1 change: 1 addition & 0 deletions Directory.Build.targets
Original file line number Diff line number Diff line change
Expand Up @@ -216,4 +216,5 @@
<InstallersRelativePath>Runtime/$(SharedFrameworkNugetVersion)/</InstallersRelativePath>
</PropertyGroup>
</Target>

</Project>
14 changes: 0 additions & 14 deletions eng/AvoidRestoreCycleOnSelfReference.targets

This file was deleted.

1 change: 0 additions & 1 deletion src/libraries/Directory.Build.targets
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,6 @@
<Import Project="$(RepositoryEngineeringDir)slngen.targets" Condition="'$(IsSlnGen)' == 'true'" />

<Import Project="$(RepositoryEngineeringDir)illink.targets" Condition="'$(IsSourceProject)' == 'true' or '$(ExplicitlyImportCustomILLinkTargets)' == 'true'" />
<Import Project="$(RepositoryEngineeringDir)AvoidRestoreCycleOnSelfReference.targets" Condition="'$(AvoidRestoreCycleOnSelfReference)' == 'true'" />
<Import Project="$(RepositoryEngineeringDir)nativeSanitizers.targets" />

<ItemGroup Condition="'$(UseTargetFrameworkPackage)' != 'false'">
Expand Down
111 changes: 0 additions & 111 deletions src/libraries/Microsoft.NETCore.Platforms/src/AssemblyResolver.cs

This file was deleted.

13 changes: 0 additions & 13 deletions src/libraries/Microsoft.NETCore.Platforms/src/BuildTask.Desktop.cs

This file was deleted.

151 changes: 0 additions & 151 deletions src/libraries/Microsoft.NETCore.Platforms/src/BuildTask.cs

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<Project>

<PropertyGroup>
<IsSourceProject>false</IsSourceProject>
</PropertyGroup>

<Import Project="..\..\Directory.Build.props" />

</Project>
46 changes: 0 additions & 46 deletions src/libraries/Microsoft.NETCore.Platforms/src/Extensions.cs

This file was deleted.

Loading

0 comments on commit 2f5eb8f

Please sign in to comment.