From dfd1700b15ecf486601a7c20fc1979d35305457f Mon Sep 17 00:00:00 2001 From: tmat Date: Fri, 1 Mar 2024 10:05:28 -0800 Subject: [PATCH] 17.10 --- eng/Directory.Packages.props | 60 ++++++++++++++++----------------- eng/Versions.props | 1 + eng/generate-vssdk-versions.csx | 25 +++++++++++--- 3 files changed, 51 insertions(+), 35 deletions(-) diff --git a/eng/Directory.Packages.props b/eng/Directory.Packages.props index 007be63e2f975..7e3c5f892d0eb 100644 --- a/eng/Directory.Packages.props +++ b/eng/Directory.Packages.props @@ -21,7 +21,7 @@ 8.0.0 2.4.1 2.1.0 - 17.9.43-preview-1 + 17.10.22-preview-1 - + @@ -88,33 +88,31 @@ - - - - - - - - - + + + + + + + + + + + - - - - - - - - + + + + + + + + + - - - - - - + diff --git a/eng/generate-vssdk-versions.csx b/eng/generate-vssdk-versions.csx index ceacfcaa4fd8f..00418d83313e0 100644 --- a/eng/generate-vssdk-versions.csx +++ b/eng/generate-vssdk-versions.csx @@ -30,7 +30,7 @@ if (!File.Exists(vssdkPackageSpecPath)) var vssdkPackageSpec = XDocument.Parse(File.ReadAllText(vssdkPackageSpecPath)); -var properties = new List(); +var properties = new List<(string packageId, string version)>(); foreach (var node in vssdkPackageSpec.Descendants()) { @@ -44,6 +44,7 @@ foreach (var node in vssdkPackageSpec.Descendants()) if (!id.StartsWith("Microsoft.VisualStudio") && !id.StartsWith("Microsoft.ServiceHub") && + !id.StartsWith("Microsoft.Build") && id != "Newtonsoft.Json" && id != "StreamJsonRpc" && id != "Nerdbank.Streams") @@ -56,15 +57,31 @@ foreach (var node in vssdkPackageSpec.Descendants()) continue; } - properties.Add($""); + properties.Add((id, version)); } } properties.Sort(); -foreach (var property in properties) +var seenMsbuild = false; +foreach (var (id, version) in properties) { - Console.WriteLine(property); + if (!id.StartsWith("Microsoft.Build")) + { + Console.WriteLine($""); + } + else if (!seenMsbuild) + { + Console.WriteLine($$""" + + + + + + """); + + seenMsbuild = true; + } } return 0;