Skip to content

Commit f96e2ad

Browse files
authored
Merge release/dev17.8 to release/dev17.10 (#73954)
2 parents 771f269 + 23904fd commit f96e2ad

File tree

5 files changed

+21
-4
lines changed

5 files changed

+21
-4
lines changed

eng/Directory.Packages.props

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,18 +34,21 @@
3434
<PackageVersion Include="Microsoft.Build" Version="17.3.4" />
3535
<PackageVersion Include="Microsoft.Build.Framework" Version="17.3.4" />
3636
<PackageVersion Include="Microsoft.Build.Tasks.Core" Version="17.3.4" />
37+
<PackageVersion Include="Microsoft.Build.Utilities.Core" Version="17.3.4" />
3738
</ItemGroup>
3839

3940
<ItemGroup Condition="'$(DotnetBuildFromSource)' != 'true' and '$(TargetFramework)' != 'net472'">
4041
<PackageVersion Include="Microsoft.Build" Version="17.7.2" />
4142
<PackageVersion Include="Microsoft.Build.Framework" Version="17.7.2" />
4243
<PackageVersion Include="Microsoft.Build.Tasks.Core" Version="17.7.2" />
44+
<PackageVersion Include="Microsoft.Build.Utilities.Core" Version="17.7.2" />
4345
</ItemGroup>
4446

4547
<ItemGroup Condition="'$(DotnetBuildFromSource)' != 'true' and '$(TargetFramework)' == 'net472'">
4648
<PackageVersion Include="Microsoft.Build" Version="17.10.4" />
4749
<PackageVersion Include="Microsoft.Build.Framework" Version="17.10.4" />
4850
<PackageVersion Include="Microsoft.Build.Tasks.Core" Version="17.10.4" />
51+
<PackageVersion Include="Microsoft.Build.Utilities.Core" Version="17.10.4" />
4952
</ItemGroup>
5053

5154
<ItemGroup>

eng/InternalTools.props

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,17 @@
66
https://devdiv.pkgs.visualstudio.com/_packaging/Engineering/nuget/v3/index.json;
77
https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-public/nuget/v3/index.json;
88
</RestoreSources>
9+
<RestoreSources>
10+
$(RestoreSources);
11+
https://pkgs.dev.azure.com/devdiv/_packaging/dotnet-core-internal-tooling/nuget/v3/index.json
12+
</RestoreSources>
913
</PropertyGroup>
1014

11-
<ItemGroup>
12-
<!-- Add explicit Newtonsoft.Json dependency to override the implicit 10.0.1 version brought in by Microsoft.DevDiv.Optimization.Data.PowerShell -->
13-
<PackageReference Include="Newtonsoft.Json" Version="$(NewtonsoftJsonVersion)" Condition="'$(UsingToolVisualStudioIbcTraining)' == 'true'" />
14-
<PackageReference Include="Microsoft.DevDiv.Optimization.Data.PowerShell" Version="$(MicrosoftDevDivOptimizationDataPowerShellVersion)" ExcludeAssets="all" Condition="'$(UsingToolVisualStudioIbcTraining)' == 'true'"/>
15+
<ItemGroup Condition="'$(UsingToolVisualStudioIbcTraining)' == 'true'">
16+
<!-- Add explicit top-level dependencies to override the implicit versions brought in by Microsoft.DevDiv.Optimization.Data.PowerShell -->
17+
<PackageReference Include="Newtonsoft.Json" Version="$(NewtonsoftJsonVersion)"/>
18+
<PackageReference Include="Microsoft.IdentityModel.JsonWebTokens" Version="$(MicrosoftIdentityModelJsonWebTokensVersion)"/>
19+
<PackageReference Include="Microsoft.DevDiv.Optimization.Data.PowerShell" Version="$(MicrosoftDevDivOptimizationDataPowerShellVersion)" ExcludeAssets="all"/>
1520
</ItemGroup>
1621

1722
</Project>

src/Tools/BuildBoss/BuildBoss.csproj

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@
1515
<Reference Include="System.Xml" />
1616
<Reference Include="System.Xml.Linq" />
1717
<Reference Include="WindowsBase" />
18+
<PackageReference Include="Microsoft.Build" ExcludeAssets="Runtime" PrivateAssets="All" />
19+
<PackageReference Include="Microsoft.Build.Framework" ExcludeAssets="Runtime" PrivateAssets="All" />
20+
<PackageReference Include="Microsoft.Build.Tasks.Core" ExcludeAssets="Runtime" PrivateAssets="All" />
21+
<PackageReference Include="Microsoft.Build.Locator" PrivateAssets="All" />
22+
<PackageReference Include="Microsoft.Build.Utilities.Core" ExcludeAssets="Runtime" PrivateAssets="All" />
1823
<PackageReference Include="Newtonsoft.Json" />
1924
<PackageReference Include="System.Collections.Immutable" />
2025
<PackageReference Include="System.Reflection.Metadata" />

src/Tools/BuildBoss/Program.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
using System.Collections.Generic;
99
using System.IO;
1010
using System.Linq;
11+
using Microsoft.Build.Locator;
1112
using Mono.Options;
1213

1314
namespace BuildBoss
@@ -30,6 +31,8 @@ internal static int Main(string[] args)
3031

3132
private static bool MainCore(string[] args)
3233
{
34+
VisualStudioInstance instance = MSBuildLocator.RegisterDefaults();
35+
Console.WriteLine($"Version: {instance.Version}");
3336
string repositoryDirectory = null;
3437
string configuration = "Debug";
3538
string primarySolution = null;

src/Workspaces/Core/MSBuild.BuildHost/Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
<PackageReference Include="Microsoft.Build" VersionOverride="17.3.4" ExcludeAssets="Runtime" PrivateAssets="All" />
2828
<PackageReference Include="Microsoft.Build.Framework" VersionOverride="17.3.4" ExcludeAssets="Runtime" />
2929
<PackageReference Include="Microsoft.Build.Tasks.Core" VersionOverride="17.3.4" ExcludeAssets="Runtime" PrivateAssets="All" />
30+
<PackageReference Include="Microsoft.Build.Utilities.Core" VersionOverride="17.3.4" ExcludeAssets="Runtime" PrivateAssets="All" />
3031
<PackageReference Include="Microsoft.Build.Locator" PrivateAssets="All" />
3132
<PackageReference Include="System.Text.Json" />
3233
<PackageReference Include="System.CommandLine" />

0 commit comments

Comments
 (0)