rm traversal build, we'll use dependencies instead
authorDavis Goodin <dagood@microsoft.com>
Fri, 21 Jun 2019 16:32:09 +0000 (11:32 -0500)
committerDavis Goodin <dagood@microsoft.com>
Fri, 21 Jun 2019 20:02:51 +0000 (15:02 -0500)
Commit migrated from https://github.com/dotnet/core-setup/commit/9d41f1400ee836f6448464d13726ade5013b6a1e

14 files changed:
src/installer/build.proj [deleted file]
src/installer/dir.proj [deleted file]
src/installer/dir.traversal.targets [deleted file]
src/installer/managed/dir.proj [deleted file]
src/installer/pkg/dir.proj [deleted file]
src/installer/pkg/dir.traversal.targets [deleted file]
src/installer/pkg/packages.builds [deleted file]
src/installer/pkg/projects/dir.traversal.targets [deleted file]
src/installer/pkg/projects/installer.builds [deleted file]
src/installer/pkg/projects/pkg.builds [deleted file]
src/installer/pkg/projects/sharedfx.builds [deleted file]
src/installer/pkg/projects/src.builds [deleted file]
src/installer/src.builds [deleted file]
tools-local/regenerate-readme-table.proj [new file with mode: 0644]

diff --git a/src/installer/build.proj b/src/installer/build.proj
deleted file mode 100644 (file)
index 7785c31..0000000
+++ /dev/null
@@ -1,124 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="Directory.Build.props" />
-
-  <!-- required to build the projects in their specified order -->
-  <PropertyGroup>
-    <SerializeProjects>true</SerializeProjects>
-  </PropertyGroup>
-
-  <PropertyGroup>
-    <!-- To disable the restoration of packages, set RestoreDuringBuild=false or pass /p:RestoreDuringBuild=false.-->
-    <RestoreDuringBuild Condition="'$(RestoreDuringBuild)'==''">true</RestoreDuringBuild>
-  </PropertyGroup>
-
-  <PropertyGroup>
-    <TraversalBuildDependencies>
-      CreateOrUpdateCurrentVersionFile;
-      CreateVersionInfoFile;
-      CreateHostMachineInfoFile;
-      BatchRestorePackages;
-      BuildCustomTasks;
-    </TraversalBuildDependencies>
-    <TraversalBuildDependsOn>
-      $(TraversalBuildDependencies);
-      $(TraversalBuildDependsOn);
-    </TraversalBuildDependsOn>
-  </PropertyGroup>
-
-  <ItemGroup>
-    <Project Include="src/dir.proj" />
-    <Project Include="src/pkg/packaging/dir.proj"/>
-    <Project Include="$(MSBuildThisFileDirectory)src/test/dir.proj" Condition="'$(SkipTests)' != 'true'"/>
-  </ItemGroup>
-
-  <Target Name="BuildTraversalBuildDependencies"
-          DependsOnTargets="$(TraversalBuildDependencies)" />
-
-  <Target Name="CreateHostMachineInfoFile">
-    <GetTargetMachineInfo>
-      <Output PropertyName="HostMachineRid" TaskParameter="RuntimeIdentifier" />
-    </GetTargetMachineInfo>
-
-    <PropertyGroup>
-      <HostMachineInfoPropsContent>
-&lt;Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"&gt;
-  &lt;PropertyGroup&gt;
-    &lt;HostMachineRid&gt;$(HostMachineRid)&lt;/HostMachineRid&gt;
-  &lt;/PropertyGroup&gt;
-&lt;/Project&gt;
-      </HostMachineInfoPropsContent>
-    </PropertyGroup>
-
-    <WriteLinesToFile File="$(HostMachineInfoProps)"
-                      Lines="$(HostMachineInfoPropsContent)"
-                      Overwrite="True" />
-  </Target>
-
-  <Target Name="BatchRestorePackages" Condition="'$(RestoreDuringBuild)'=='true'">
-    <Message Importance="High" Text="Restoring all packages..." />
-    <Exec Condition="'@(SdkRestoreProjects)' != ''" Command="$(DotnetRestoreCommand) &quot;%(SdkRestoreProjects.FullPath)&quot; $(MSBuildPassThroughPropertyList)" StandardOutputImportance="Low" />
-  </Target>
-
-  <Import Project="Directory.Build.targets" />
-  <Import Project="dir.traversal.targets" />
-  <Import Project="$(ToolsDir)clean.targets" />
-  <Import Project="$(ToolsDir)VersionTools.targets" Condition="Exists('$(ToolsDir)VersionTools.targets')" />
-
-
-  <!-- Override RestorePackages from dir.traversal.targets and do a batch restore -->
-  <Target Name="RestorePackages" DependsOnTargets="BatchRestorePackages" />
-
-  <!-- Override clean from dir.traversal.targets and just remove the full BinDir -->
-  <Target Name="CleanAllProjects">
-    <RemoveDir Directories="$(BinDir)" />
-  </Target>
-
-  <UsingTask TaskName="RegenerateReadmeTable" AssemblyFile="$(LocalBuildToolsTaskDir)core-setup.tasks.dll" />
-
-  <Target Name="RegenerateReadmeTable">
-    <!--
-      Column and row configuration for the readme table. The abbreviations match up with
-      reference-style Markdown links in the readme file to figure out what to put in the cells.
-    -->
-    <ItemGroup>
-      <Branches Include="Master" Abbr="master" />
-      <Branches Include="Release/3.0.X" Abbr="3.0.X" />
-      <Branches Include="Release/2.2.X" Abbr="2.2.X" />
-      <Branches Include="Release/2.1.X" Abbr="2.1.X" />
-      <Branches Include="Release/1.1.X" Abbr="1.1.X" />
-      <Branches Include="Release/1.0.X" Abbr="preview" />
-
-      <Platforms Include="Windows (x64)" Abbr="win-x64" />
-      <Platforms Include="Windows (x86)" Abbr="win-x86" />
-      <Platforms Include="Windows (arm32)" Abbr="win-arm" />
-      <Platforms Include="Windows (arm64)" Abbr="win-arm64" />
-      <Platforms Include="Mac OS X (x64)" Abbr="osx" />
-      <Platforms Include="Linux (x64)" Parenthetical=" (for glibc based OS)" Abbr="linux-x64" />
-      <Platforms Include="Linux (armhf)" Parenthetical=" (for glibc based OS)" Abbr="linux-arm"/>
-      <Platforms Include="Linux (arm64)" Parenthetical=" (for glibc based OS)" Abbr="linux-arm64" />
-      <Platforms Include="Ubuntu 14.04 (x64)" Abbr="ubuntu-14.04" />
-      <Platforms Include="Ubuntu 16.04 (x64)" Abbr="ubuntu-16.04" />
-      <Platforms Include="Ubuntu 18.04 (x64)" Abbr="ubuntu-18.04" />
-      <Platforms Include="Ubuntu 19.04 (x64)" Abbr="ubuntu-19.04" />
-      <Platforms Include="Debian 8.2 (x64)" Abbr="debian-8.2" />
-      <Platforms Include="Debian 9 (x64)" Abbr="debian-9" />
-      <Platforms Include="CentOS 7 (x64)" Abbr="centos-7" />
-      <Platforms Include="RHEL 6" Abbr="rhel-6" />
-      <Platforms Include="RHEL 7.2 (x64)" Abbr="rhel7" />
-      <Platforms Include="Fedora 23 (x64)" Abbr="fedora-23" />
-      <Platforms Include="Fedora 24 (x64)" Abbr="fedora-24" />
-      <Platforms Include="Fedora 27 (x64)" Abbr="fedora-27" />
-      <Platforms Include="SLES 12 (x64)" Abbr="sles-12" />
-      <Platforms Include="OpenSUSE 42 (x64)" Abbr="OpenSUSE-42" />
-      <Platforms Include="Linux-musl (x64)" Abbr="linux-musl-x64" />
-      <Platforms Include="Linux-musl (arm64)" Abbr="linux-musl-arm64" />
-    </ItemGroup>
-
-    <RegenerateReadmeTable
-      ReadmeFile="README.md"
-      Branches="@(Branches)"
-      Platforms="@(Platforms)" />
-  </Target>
-
-</Project>
diff --git a/src/installer/dir.proj b/src/installer/dir.proj
deleted file mode 100644 (file)
index ae18934..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), Directory.Build.props))\Directory.Build.props" />
-
-  <!-- required to build the projects in their specified order -->
-  <PropertyGroup>
-    <SerializeProjects>true</SerializeProjects>
-  </PropertyGroup>
-
-  <ItemGroup>
-    <Project Include="$(MSBuildThisFileDirectory)src.builds" />
-    <Project Include="$(MSBuildThisFileDirectory)pkg/dir.proj" />
-    <Project Include="$(MSBuildThisFileDirectory)pkg/projects/sharedfx.builds" />
-  </ItemGroup>
-
-  <!-- Tasks from buildtools for easy project.json dependency updates -->
-  <UsingTask TaskName="UpdatePackageDependencyVersion" AssemblyFile="$(BuildToolsTaskDir)Microsoft.DotNet.Build.Tasks.dll" />
-
-  <Target Name="UpdatePackageDependencyVersion">
-    <UpdatePackageDependencyVersion ProjectJsons="@(ProjectJsonFiles)"
-                                    PackageId="$(PackageId)"
-                                    OldVersion="$(OldVersion)"
-                                    NewVersion="$(NewVersion)" />
-  </Target>
-  
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), Directory.Build.targets))\Directory.Build.targets" />
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.traversal.targets))\dir.traversal.targets" />
-</Project>
\ No newline at end of file
diff --git a/src/installer/dir.traversal.targets b/src/installer/dir.traversal.targets
deleted file mode 100644 (file)
index 6f30848..0000000
+++ /dev/null
@@ -1,102 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-
-  <Target Name="BuildAllProjects">
-    <PropertyGroup>
-      <DefaultBuildAllTarget Condition="'$(DefaultBuildAllTarget)'==''">$(MSBuildProjectDefaultTargets)</DefaultBuildAllTarget>
-    </PropertyGroup>
-
-    <!-- To Serialize we use msbuild's batching functionality '%' to force it to batch all similar projects with the same identity 
-         however since the project names are unique it will essentially force each to run in its own batch -->
-    <MSBuild Targets="$(DefaultBuildAllTarget)"
-             Projects="@(Project)"
-             Condition="'$(SerializeProjects)'=='true'"
-             Properties="Dummy=%(Identity);DefaultBuildAllTarget=$(DefaultBuildAllTarget);BuildAllProjects=true" />
-
-    <MSBuild Targets="$(DefaultBuildAllTarget)"
-             Projects="@(Project)"
-             Condition="'$(SerializeProjects)'!='true'"
-             Properties="DefaultBuildAllTarget=$(DefaultBuildAllTarget);BuildAllProjects=true"
-             BuildInParallel="true"
-             ContinueOnError="ErrorAndContinue" />
-
-    <!-- Given we ErrorAndContinue we need to propagate the error if the overall task failed -->
-    <Error Condition="'$(MSBuildLastTaskResult)'=='false'" />
-  </Target>
-
-  <Target Name="CleanAllProjects">
-    <PropertyGroup>
-      <DefaultCleanAllTarget Condition="'$(DefaultCleanAllTarget)'==''">Clean</DefaultCleanAllTarget>
-    </PropertyGroup>
-
-    <!-- To Serialize we use msbuild's batching functionality '%' to force it to batch all similar projects with the same identity 
-         however since the project names are unique it will essentially force each to run in its own batch -->
-    <MSBuild Targets="$(DefaultCleanAllTarget)"
-             Projects="@(Project)"
-             Condition="'$(SerializeProjects)'=='true'"
-             Properties="Dummy=%(Identity);CleanAllProjects=true"
-             ContinueOnError="ErrorAndContinue" />
-
-    <MSBuild Targets="$(DefaultCleanAllTarget)"
-             Projects="@(Project)"
-             Condition="'$(SerializeProjects)'!='true'"
-             Properties="CleanAllProjects=true"
-             BuildInParallel="true"
-             ContinueOnError="ErrorAndContinue" />
-
-    <!-- Given we ErrorAndContinue we need to propagate the error if the overall task failed -->
-    <Error Condition="'$(MSBuildLastTaskResult)'=='false'" />
-  </Target>
-
-  <Target Name="RestoreAllProjectPackages">
-    <Message Importance="High" Text="Restoring project packages..." />
-
-    <PropertyGroup>
-      <DefaultRestoreAllPackagesTarget Condition="'$(DefaultRestoreAllPackagesTarget)'==''">RestorePackages</DefaultRestoreAllPackagesTarget>
-    </PropertyGroup>
-
-    <!-- To Serialize we use msbuild's batching functionality '%' to force it to batch all similar projects with the same identity 
-      however since the project names are unique it will essentially force each to run in its own batch -->
-    <MSBuild Targets="$(DefaultRestoreAllPackagesTarget)"
-             Projects="@(Project)"
-             Condition="'$(SerializeProjects)'=='true'"
-             Properties="Dummy=%(Identity);RestoreAllPackages=true"
-             ContinueOnError="ErrorAndContinue" />
-
-    <MSBuild Targets="$(DefaultRestoreAllPackagesTarget)"
-             Projects="@(Project)"
-             Condition="'$(SerializeProjects)'!='true'"
-             Properties="RestoreAllPackages=true"
-             BuildInParallel="true"
-             ContinueOnError="ErrorAndContinue" />
-
-    <!-- Given we ErrorAndContinue we need to propagate the error if the overall task failed -->
-    <Error Condition="'$(MSBuildLastTaskResult)'=='false'" />
-  </Target>
-
-  <PropertyGroup>
-    <TraversalBuildDependsOn>
-      $(TraversalBuildDependsOn);
-      BuildAllProjects;
-    </TraversalBuildDependsOn>
-
-    <TraversalCleanDependsOn>
-      $(TraversalCleanDependsOn);
-      CleanAllProjects;
-    </TraversalCleanDependsOn>
-
-    <TraversalRestorePackagesDependsOn>
-      $(TraversalRestorePackagesDependsOn)
-      RestoreAllProjectPackages;
-    </TraversalRestorePackagesDependsOn>
-  </PropertyGroup>
-
-  <Target Name="Build" DependsOnTargets="$(TraversalBuildDependsOn)" />
-
-  <Target Name="Clean" DependsOnTargets="$(TraversalCleanDependsOn)" />
-
-  <Target Name="Rebuild" DependsOnTargets="Clean;Build" />
-
-  <Target Name="RestorePackages" DependsOnTargets="$(TraversalRestorePackagesDependsOn)" />
-
-</Project>
\ No newline at end of file
diff --git a/src/installer/managed/dir.proj b/src/installer/managed/dir.proj
deleted file mode 100644 (file)
index 7376299..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), Directory.Build.props))\Directory.Build.props" />
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), Directory.Build.targets))\Directory.Build.targets" />
-
-  <Target Name="Build"
-          DependsOnTargets="GetLatestCommitHash">
-    <MakeDir Condition="!Exists('$(pOutDir)')" Directories="$(pOutDir)" />
-
-    <ItemGroup>
-      <PackageProjects Include="$(MSBuildThisFileDirectory)Microsoft.DotNet.PlatformAbstractions/Microsoft.DotNet.PlatformAbstractions.csproj" />
-      <PackageProjects Include="$(MSBuildThisFileDirectory)Microsoft.Extensions.DependencyModel/Microsoft.Extensions.DependencyModel.csproj" />
-      <PackageProjects Include="$(MSBuildThisFileDirectory)Microsoft.NET.HostModel/Microsoft.NET.HostModel.csproj" />
-    </ItemGroup>
-
-    <PropertyGroup>
-      <BuildArgs>$(NoRestoreArg) $(MSBuildPassThroughPropertyList) /p:BaseOutputPath=$(IntermediateOutputForPackaging)</BuildArgs>
-    </PropertyGroup>
-
-    <Exec Command="$(DotnetToolCommand) build $(BuildArgs) %(PackageProjects.Identity)" />
-  </Target>
-</Project>
diff --git a/src/installer/pkg/dir.proj b/src/installer/pkg/dir.proj
deleted file mode 100644 (file)
index c027cad..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="BuildAndTest" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="Directory.Build.props" />
-  <Import Project="Directory.Build.targets" />
-  <Import Project="dir.traversal.targets" />
-
-  <Target Name="Build">
-    <MSBuild Projects="packages.builds" />
-
-    <ItemGroup>
-        <Nupkgs Include="$(PackageOutputPath)\**\*.nupkg" />
-    </ItemGroup>
-
-    <Copy SourceFiles="@(Nupkgs)"
-          DestinationFolder="$(BaseOutputRootPath)corehost"/>
-  </Target>
-  
-</Project>
\ No newline at end of file
diff --git a/src/installer/pkg/dir.traversal.targets b/src/installer/pkg/dir.traversal.targets
deleted file mode 100644 (file)
index 781d053..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" DefaultTargets="Build">
-
-  <Target Name="Build">
-    <PropertyGroup>
-      <BuildsFileTarget Condition="'$(BuildsFileTarget)' == ''">$(MSBuildProjectDefaultTargets)</BuildsFileTarget>
-    </PropertyGroup>
-
-    <!-- To Serialize we use msbuild's batching functionality '%' to force it to batch all similar projects with the same identity 
-         however since the project names are unique it will essentially force each to run in its own batch -->
-    <MSBuild Targets="$(BuildsFileTarget)" Projects="@(Project)" Condition="'$(SerializeProjects)'=='true'" Properties="Dummy=%(Identity)"/>
-    <MSBuild Targets="$(BuildsFileTarget)" Projects="@(Project)" Condition="'$(SerializeProjects)'!='true'" BuildInParallel="true" />
-  </Target>
-
-  <Target Name="Clean">
-    <!-- To Serialize we use msbuild's batching functionality '%' to force it to batch all similar projects with the same identity 
-         however since the project names are unique it will essentially force each to run in its own batch -->
-    <MSBuild Targets="Clean" Projects="@(Project)" Condition="'$(SerializeProjects)'=='true'" Properties="Dummy=%(Identity)"/>
-    <MSBuild Targets="Clean" Projects="@(Project)" Condition="'$(SerializeProjects)'!='true'" BuildInParallel="true" />
-  </Target>
-
-  <Target Name="Rebuild" DependsOnTargets="Clean;Build" />
-
-</Project>
diff --git a/src/installer/pkg/packages.builds b/src/installer/pkg/packages.builds
deleted file mode 100644 (file)
index 2f70bc4..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), Directory.Build.props))\Directory.Build.props" />
-  
-  <PropertyGroup>
-    <!-- don't build project references from pkgprojs during the packages build phase,
-         they will be built during the source build phase -->
-    <AdditionalProperties>BuildPackageLibraryReferences=false</AdditionalProperties>
-    <ProjectsBasePath>$(MSBuildThisFileDirectory)projects\</ProjectsBasePath>
-  </PropertyGroup>  
-
-  <ItemGroup>
-    <Project Include="$(ProjectsBasePath)pkg.builds">
-      <AdditionalProperties>$(AdditionalProperties)</AdditionalProperties>
-    </Project>
-  </ItemGroup>  
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.traversal.targets))\dir.traversal.targets" />
-</Project>
diff --git a/src/installer/pkg/projects/dir.traversal.targets b/src/installer/pkg/projects/dir.traversal.targets
deleted file mode 100644 (file)
index 027f2d7..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-
-  <Import Project="$(MSBuildThisFileDirectory)..\dir.traversal.targets" />
-
-  <!--
-    Some projects need to be built multiple times using different properties. Ask each
-    @(ProjectProvider) to give us the list of @(Project) items that need to be built. A pkgproj can
-    use this to build runtime packages, for example.
-  -->
-  <Target Name="ExpandProjects"
-          BeforeTargets="
-            Build;
-            GenerateInstallers;
-            GenerateSharedFramework">
-    <MSBuild Projects="@(ProjectProvider)" Targets="GetProjectsToBuild">
-      <Output TaskParameter="TargetOutputs" ItemName="_everyProject" />
-    </MSBuild>
-
-    <!-- Filter to projects that apply to the current *.builds file. -->
-    <ItemGroup>
-      <Project
-        Include="@(_everyProject)"
-        Condition="'%(_everyProject.Phase)' == '$(BuildPhase)'" />
-    </ItemGroup>
-  </Target>
-
-  <!--
-    Filter runtime package builds down to the current RID and packages that aren't RID-specific.
-  -->
-  <Target Name="FilterProjects"
-          BeforeTargets="Build"
-          DependsOnTargets="ExpandProjects">
-    <Error Condition="'$(PackageRID)' == ''" Text="'PackageRID' property must be specified." />
-
-    <!-- Only build packages for current RID or non-RID-specific -->
-    <ItemGroup>
-      <_projectsToBuild
-        Include="@(Project)"
-        Condition="
-          '%(Project.PackageTargetRuntime)' == '$(PackageRID)' OR
-          '%(Project.BuidOnRID)' == '$(PackageRID)' OR
-          '%(Project.PackageTargetRuntime)' == ''" />
-    </ItemGroup>
-
-    <ItemGroup>
-      <Project Remove="@(Project)" />
-      <Project Include="@(_projectsToBuild)" />
-    </ItemGroup>
-  </Target>
-</Project>
\ No newline at end of file
diff --git a/src/installer/pkg/projects/installer.builds b/src/installer/pkg/projects/installer.builds
deleted file mode 100644 (file)
index b4334e9..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), Directory.Build.props))\Directory.Build.props" />
-
-  <PropertyGroup>
-    <BuildsFileTarget>GenerateInstallers</BuildsFileTarget>
-  </PropertyGroup>
-
-  <ItemGroup>
-    <ProjectProvider Include="**\*.pkgproj" Exclude="@(ProjectExclusions)" />
-  </ItemGroup>
-
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.traversal.targets))\dir.traversal.targets" />
-</Project>
diff --git a/src/installer/pkg/projects/pkg.builds b/src/installer/pkg/projects/pkg.builds
deleted file mode 100644 (file)
index fed7fde..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), Directory.Build.props))\Directory.Build.props" />
-
-  <ItemGroup>
-    <ProjectProvider Include="**\*.pkgproj" Exclude="@(ProjectExclusions)" />
-  </ItemGroup>
-
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.traversal.targets))\dir.traversal.targets" />
-</Project>
diff --git a/src/installer/pkg/projects/sharedfx.builds b/src/installer/pkg/projects/sharedfx.builds
deleted file mode 100644 (file)
index 2066e7e..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), Directory.Build.props))\Directory.Build.props" />
-
-  <PropertyGroup>
-    <BuildsFileTarget>GenerateSharedFramework</BuildsFileTarget>
-  </PropertyGroup>
-
-  <ItemGroup>
-    <ProjectProvider Include="**\*.pkgproj" Exclude="@(ProjectExclusions)" />
-  </ItemGroup>
-
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.traversal.targets))\dir.traversal.targets" />
-</Project>
diff --git a/src/installer/pkg/projects/src.builds b/src/installer/pkg/projects/src.builds
deleted file mode 100644 (file)
index 8c116b5..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), Directory.Build.props))\Directory.Build.props" />
-
-  <ItemGroup>
-    <ProjectProvider Include="**\*.depproj" Exclude="@(ProjectExclusions)" />
-  </ItemGroup>
-
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.traversal.targets))\dir.traversal.targets" />
-</Project>
diff --git a/src/installer/src.builds b/src/installer/src.builds
deleted file mode 100644 (file)
index 9e9c58a..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), Directory.Build.props))\Directory.Build.props" />
-
-  <!-- required to build the projects in their specified order -->
-  <PropertyGroup>
-    <SerializeProjects>true</SerializeProjects>
-  </PropertyGroup>
-
-  <ItemGroup>
-    <Project Include="$(MSBuildThisFileDirectory)corehost/build.proj" />
-    <Project Include="$(MSBuildThisFileDirectory)managed/dir.proj" />
-    <Project Include="$(MSBuildThisFileDirectory)pkg/projects/src.builds" />
-  </ItemGroup>
-
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.traversal.targets))\dir.traversal.targets" />
-</Project>
\ No newline at end of file
diff --git a/tools-local/regenerate-readme-table.proj b/tools-local/regenerate-readme-table.proj
new file mode 100644 (file)
index 0000000..0478b0a
--- /dev/null
@@ -0,0 +1,50 @@
+<Project Sdk="Microsoft.NET.Sdk" DefaultTargets="RegenerateReadmeTable">
+
+  <UsingTask TaskName="RegenerateReadmeTable" AssemblyFile="$(LocalBuildToolsTaskFile)" />
+
+  <Target Name="RegenerateReadmeTable">
+    <!--
+      Column and row configuration for the readme table. The abbreviations match up with
+      reference-style Markdown links in the readme file to figure out what to put in the cells.
+    -->
+    <ItemGroup>
+      <Branches Include="Master" Abbr="master" />
+      <Branches Include="Release/3.0.X" Abbr="3.0.X" />
+      <Branches Include="Release/2.2.X" Abbr="2.2.X" />
+      <Branches Include="Release/2.1.X" Abbr="2.1.X" />
+      <Branches Include="Release/1.1.X" Abbr="1.1.X" />
+      <Branches Include="Release/1.0.X" Abbr="preview" />
+
+      <Platforms Include="Windows (x64)" Abbr="win-x64" />
+      <Platforms Include="Windows (x86)" Abbr="win-x86" />
+      <Platforms Include="Windows (arm32)" Abbr="win-arm" />
+      <Platforms Include="Windows (arm64)" Abbr="win-arm64" />
+      <Platforms Include="Mac OS X (x64)" Abbr="osx" />
+      <Platforms Include="Linux (x64)" Parenthetical=" (for glibc based OS)" Abbr="linux-x64" />
+      <Platforms Include="Linux (armhf)" Parenthetical=" (for glibc based OS)" Abbr="linux-arm"/>
+      <Platforms Include="Linux (arm64)" Parenthetical=" (for glibc based OS)" Abbr="linux-arm64" />
+      <Platforms Include="Ubuntu 14.04 (x64)" Abbr="ubuntu-14.04" />
+      <Platforms Include="Ubuntu 16.04 (x64)" Abbr="ubuntu-16.04" />
+      <Platforms Include="Ubuntu 18.04 (x64)" Abbr="ubuntu-18.04" />
+      <Platforms Include="Ubuntu 19.04 (x64)" Abbr="ubuntu-19.04" />
+      <Platforms Include="Debian 8.2 (x64)" Abbr="debian-8.2" />
+      <Platforms Include="Debian 9 (x64)" Abbr="debian-9" />
+      <Platforms Include="CentOS 7 (x64)" Abbr="centos-7" />
+      <Platforms Include="RHEL 6" Abbr="rhel-6" />
+      <Platforms Include="RHEL 7.2 (x64)" Abbr="rhel7" />
+      <Platforms Include="Fedora 23 (x64)" Abbr="fedora-23" />
+      <Platforms Include="Fedora 24 (x64)" Abbr="fedora-24" />
+      <Platforms Include="Fedora 27 (x64)" Abbr="fedora-27" />
+      <Platforms Include="SLES 12 (x64)" Abbr="sles-12" />
+      <Platforms Include="OpenSUSE 42 (x64)" Abbr="OpenSUSE-42" />
+      <Platforms Include="Linux-musl (x64)" Abbr="linux-musl-x64" />
+      <Platforms Include="Linux-musl (arm64)" Abbr="linux-musl-arm64" />
+    </ItemGroup>
+
+    <RegenerateReadmeTable
+      ReadmeFile="$(RepoRoot)README.md"
+      Branches="@(Branches)"
+      Platforms="@(Platforms)" />
+  </Target>
+
+</Project>