Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fe9bea7

Browse files
author
Jason Zhai
committed
Merge branch 'release/7.0.1xx' into release/7.0.2xx
2 parents 13302d3 + f22b2f8 commit fe9bea7

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

src/Assets/TestProjects/SampleManifest/MockListSampleUpdated.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"description": "mock-workload-1",
66
"kind": "dev",
77
"packs": [
8-
"Test.Pack.A",
8+
"Test.Pack.A.Renamed",
99
"Test.Pack.B",
1010
"Test.Pack.C"
1111
]
@@ -20,17 +20,17 @@
2020
"mock-workload-3": {
2121
"description": "mock-workload-3",
2222
"packs": [
23-
"Test.Pack.A"
23+
"Test.Pack.A.Renamed"
2424
]
2525
}
2626
},
2727
"packs": {
28-
"Test.Pack.A": {
28+
"Test.Pack.A.Renamed": {
2929
"version": "2.0.0",
3030
"kind": "sdk"
3131
},
3232
"Test.Pack.B": {
33-
"version": "2.0.0",
33+
"version": "3.0.0",
3434
"kind": "framework"
3535
},
3636
"Test.Pack.C": {

src/Cli/Microsoft.DotNet.Cli.Utils/MSBuildForwardingAppWithoutLogging.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ namespace Microsoft.DotNet.Cli.Utils
1616
internal class MSBuildForwardingAppWithoutLogging
1717
{
1818
private static readonly bool AlwaysExecuteMSBuildOutOfProc = Env.GetEnvironmentVariableAsBool("DOTNET_CLI_RUN_MSBUILD_OUTOFPROC");
19-
private static readonly bool UseMSBuildServer = !Env.GetEnvironmentVariableAsBool("DOTNET_CLI_DO_NOT_USE_MSBUILD_SERVER");
19+
private static readonly bool UseMSBuildServer = Env.GetEnvironmentVariableAsBool("DOTNET_CLI_USE_MSBUILD_SERVER", false);
2020

2121
private const string MSBuildExeName = "MSBuild.dll";
2222

src/Resolvers/Microsoft.NET.Sdk.WorkloadManifestReader/WorkloadResolver.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -563,8 +563,9 @@ public IEnumerable<WorkloadId> GetUpdatedWorkloads(WorkloadResolver advertisingM
563563

564564
var existingWorkload = _workloads[workloadId];
565565
var existingPacks = GetPacksInWorkload(existingWorkload.workload, existingWorkload.manifest).Select(p => p.packId).ToHashSet();
566-
var updatedWorkload = advertisingManifestResolver._workloads[workloadId].workload;
567-
var updatedPacks = advertisingManifestResolver.GetPacksInWorkload(existingWorkload.workload, existingWorkload.manifest).Select(p => p.packId);
566+
567+
var updatedWorkload = advertisingManifestResolver._workloads[workloadId];
568+
var updatedPacks = advertisingManifestResolver.GetPacksInWorkload(updatedWorkload.workload, updatedWorkload.manifest).Select(p => p.packId);
568569

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

0 commit comments

Comments
 (0)