Skip to content

Commit

Permalink
Merge pull request #28398 from dotnet-maestro-bot/merge/release/7.0.1…
Browse files Browse the repository at this point in the history
…xx-to-release/7.0.2xx

[automated] Merge branch 'release/7.0.1xx' => 'release/7.0.2xx'
  • Loading branch information
marcpopMSFT authored Oct 11, 2022
2 parents d4d4b86 + 09b638c commit 7dcdb00
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"description": "mock-workload-1",
"kind": "dev",
"packs": [
"Test.Pack.A",
"Test.Pack.A.Renamed",
"Test.Pack.B",
"Test.Pack.C"
]
Expand All @@ -20,17 +20,17 @@
"mock-workload-3": {
"description": "mock-workload-3",
"packs": [
"Test.Pack.A"
"Test.Pack.A.Renamed"
]
}
},
"packs": {
"Test.Pack.A": {
"Test.Pack.A.Renamed": {
"version": "2.0.0",
"kind": "sdk"
},
"Test.Pack.B": {
"version": "2.0.0",
"version": "3.0.0",
"kind": "framework"
},
"Test.Pack.C": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ namespace Microsoft.DotNet.Cli.Utils
internal class MSBuildForwardingAppWithoutLogging
{
private static readonly bool AlwaysExecuteMSBuildOutOfProc = Env.GetEnvironmentVariableAsBool("DOTNET_CLI_RUN_MSBUILD_OUTOFPROC");
private static readonly bool UseMSBuildServer = !Env.GetEnvironmentVariableAsBool("DOTNET_CLI_DO_NOT_USE_MSBUILD_SERVER");
private static readonly bool UseMSBuildServer = Env.GetEnvironmentVariableAsBool("DOTNET_CLI_USE_MSBUILD_SERVER", false);

private const string MSBuildExeName = "MSBuild.dll";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -563,8 +563,9 @@ public IEnumerable<WorkloadId> GetUpdatedWorkloads(WorkloadResolver advertisingM

var existingWorkload = _workloads[workloadId];
var existingPacks = GetPacksInWorkload(existingWorkload.workload, existingWorkload.manifest).Select(p => p.packId).ToHashSet();
var updatedWorkload = advertisingManifestResolver._workloads[workloadId].workload;
var updatedPacks = advertisingManifestResolver.GetPacksInWorkload(existingWorkload.workload, existingWorkload.manifest).Select(p => p.packId);

var updatedWorkload = advertisingManifestResolver._workloads[workloadId];
var updatedPacks = advertisingManifestResolver.GetPacksInWorkload(updatedWorkload.workload, updatedWorkload.manifest).Select(p => p.packId);

if (!existingPacks.SetEquals(updatedPacks) || existingPacks.Any(p => PackHasChanged(_packs[p].pack, advertisingManifestResolver._packs[p].pack)))
{
Expand Down

0 comments on commit 7dcdb00

Please sign in to comment.