Skip to content

Commit e1b6c68

Browse files
authored
[automated] Merge branch 'vs17.10' => 'vs17.11' (#12480)
I detected changes in the vs17.10 branch which have not been merged yet to vs17.11. I'm a robot and am configured to help you automatically keep vs17.11 up to date, so I've opened this PR. This PR merges commits made on vs17.10 by the following committers: * @dotnet-maestro[bot] * @JanProvaznik * @YuliiaKovalova * @github-actions[bot] * @GangWang01 ## Instructions for merging from UI This PR will not be auto-merged. When pull request checks pass, complete this PR by creating a merge commit, *not* a squash or rebase commit. <img alt="merge button instructions" src="https://i.imgur.com/GepcNJV.png" width="300" /> If this repo does not allow creating merge commits from the GitHub UI, use command line instructions. ## Instructions for merging via command line Run these commands to merge this pull request from the command line. ``` sh git fetch git checkout vs17.10 git pull --ff-only git checkout vs17.11 git pull --ff-only git merge --no-ff vs17.10 # If there are merge conflicts, resolve them and then run git merge --continue to complete the merge # Pushing the changes to the PR branch will re-trigger PR validation. git push https://github.com/dotnet/msbuild HEAD:merge/vs17.10-to-vs17.11 ``` <details> <summary>or if you are using SSH</summary> ``` git push [email protected]:dotnet/msbuild HEAD:merge/vs17.10-to-vs17.11 ``` </details> After PR checks are complete push the branch ``` git push ``` ## Instructions for resolving conflicts :warning: If there are merge conflicts, you will need to resolve them manually before merging. You can do this [using GitHub][resolve-github] or using the [command line][resolve-cli]. [resolve-github]: https://help.github.com/articles/resolving-a-merge-conflict-on-github/ [resolve-cli]: https://help.github.com/articles/resolving-a-merge-conflict-using-the-command-line/ ## Instructions for updating this pull request Contributors to this repo have permission update this pull request by pushing to the branch 'merge/vs17.10-to-vs17.11'. This can be done to resolve conflicts or make other changes to this pull request before it is merged. The provided examples assume that the remote is named 'origin'. If you have a different remote name, please replace 'origin' with the name of your remote. ``` git fetch git checkout -b merge/vs17.10-to-vs17.11 origin/vs17.11 git pull https://github.com/dotnet/msbuild merge/vs17.10-to-vs17.11 (make changes) git commit -m "Updated PR with my changes" git push https://github.com/dotnet/msbuild HEAD:merge/vs17.10-to-vs17.11 ``` <details> <summary>or if you are using SSH</summary> ``` git fetch git checkout -b merge/vs17.10-to-vs17.11 origin/vs17.11 git pull [email protected]:dotnet/msbuild merge/vs17.10-to-vs17.11 (make changes) git commit -m "Updated PR with my changes" git push [email protected]:dotnet/msbuild HEAD:merge/vs17.10-to-vs17.11 ``` </details> Contact .NET Core Engineering (dotnet/dnceng) if you have questions or issues. Also, if this PR was generated incorrectly, help us fix it. See https://github.com/dotnet/arcade/blob/main/.github/workflows/scripts/inter-branch-merge.ps1.
2 parents 70f0ec6 + c987209 commit e1b6c68

File tree

5 files changed

+25
-7
lines changed

5 files changed

+25
-7
lines changed

.vsts-dotnet.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ trigger:
66
# Once they exist, we should define these as "runtime parameters"
77
# https://github.com/Microsoft/azure-pipelines-yaml/pull/129
88
# variables:
9-
# SignType: real
109
# SkipApplyOptimizationData: false
1110

1211
parameters:
@@ -22,6 +21,10 @@ parameters:
2221
displayName: Enable Signing Validation
2322
type: boolean
2423
default: true
24+
- name: signTypeParameter
25+
displayName: Sign Type
26+
type: string
27+
default: 'real'
2528

2629
variables:
2730
# if OptProfDrop is not set, string '$(OptProfDrop)' will be passed to the build script.
@@ -114,6 +117,7 @@ extends:
114117
parameters:
115118
isExperimental: false
116119
enableComponentGovernance: true
120+
signTypeParameter: ${{ parameters.signTypeParameter }}
117121
enableOptProf: ${{ parameters.enableOptProf }}
118122

119123
- template: /eng/common/templates-official/post-build/post-build.yml@self

azure-pipelines/.vsts-dotnet-build-jobs.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ parameters:
66
- name: enableComponentGovernance
77
type: boolean
88
default: false
9+
- name: signTypeParameter
10+
type: string
11+
default: 'test'
912
- name: enableOptProf
1013
type: boolean
1114
default: false
@@ -58,14 +61,14 @@ jobs:
5861
- task: MicroBuildSigningPlugin@4
5962
displayName: Install MicroBuild plugin
6063
inputs:
61-
signType: $(SignType)
64+
signType: ${{ parameters.signTypeParameter }}
6265
zipSources: false
6366
feedSource: https://devdiv.pkgs.visualstudio.com/_packaging/MicroBuildToolset/nuget/v3/index.json
64-
${{ if and(eq(variables['SignType'], 'real'), eq(variables['System.TeamProject'], 'DevDiv')) }}:
67+
${{ if and(eq(parameters.signTypeParameter, 'real'), eq(variables['System.TeamProject'], 'DevDiv')) }}:
6568
ConnectedPMEServiceName: 6cc74545-d7b9-4050-9dfa-ebefcc8961ea
6669
env:
6770
SYSTEM_ACCESSTOKEN: $(System.AccessToken)
68-
condition: and(succeeded(), in(variables['SignType'], 'test', 'real'))
71+
condition: and(succeeded(), in('${{ parameters.signTypeParameter }}', 'test', 'real'))
6972

7073
- task: MicroBuildOptProfPlugin@6
7174
inputs:
@@ -89,12 +92,14 @@ jobs:
8992
/p:VisualStudioIbcSourceBranchName=$(SourceBranch)
9093
/p:VisualStudioDropAccessToken=$(System.AccessToken)
9194
/p:VisualStudioDropName=$(VisualStudio.DropName)
92-
/p:DotNetSignType=$(SignType)
95+
/p:DotNetSignType=${{ parameters.signTypeParameter }}
9396
/p:TeamName=MSBuild
9497
/p:DotNetPublishUsingPipelines=true
9598
/p:VisualStudioIbcDrop=$(OptProfDrop)
9699
/p:GenerateSbom=true
97100
/p:SuppressFinalPackageVersion=${{ parameters.isExperimental }}
101+
/p:IsExperimental=${{ parameters.isExperimental }}
102+
98103
displayName: Build
99104
condition: succeeded()
100105

azure-pipelines/.vsts-dotnet-exp-perf.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ trigger:
66
# Once they exist, we should define these as "runtime parameters"
77
# https://github.com/Microsoft/azure-pipelines-yaml/pull/129
88
# variables:
9-
# SignType: test
109
# SkipApplyOptimizationData: false
1110

1211
parameters:
@@ -18,6 +17,10 @@ parameters:
1817
displayName: Enable Signing Validation
1918
type: boolean
2019
default: false
20+
- name: signTypeParameter
21+
displayName: Sign Type
22+
type: string
23+
default: 'test'
2124
- name: enableOptProf
2225
displayName: Enable OptProf data collection for this build
2326
type: boolean
@@ -77,6 +80,7 @@ extends:
7780
parameters:
7881
isExperimental: true
7982
enableComponentGovernance: false
83+
signTypeParameter: ${{ parameters.signTypeParameter }}
8084
enableOptProf: ${{ parameters.enableOptProf }}
8185

8286
- template: /eng/common/templates/post-build/post-build.yml@self

azure-pipelines/vs-insertion-experimental.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,3 +180,4 @@ extends:
180180
InsertionReviewers: MSBuild
181181
CustomScriptExecutionCommand: $(InsertCustomScriptExecutionCommand)
182182
InsertionBuildPolicy: Request Perf DDRITs
183+

eng/Versions.props

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,15 @@
22
<!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the MIT license. See License.txt in the project root for full license information. -->
33
<Project>
44
<PropertyGroup>
5-
<VersionPrefix>17.11.45</VersionPrefix>
5+
<VersionPrefix>17.11.46</VersionPrefix>
66
<DotNetFinalVersionKind>release</DotNetFinalVersionKind>
77
<PackageValidationBaselineVersion>17.10.4</PackageValidationBaselineVersion>
88
<AssemblyVersion>15.1.0.0</AssemblyVersion>
99
<PreReleaseVersionLabel>servicing</PreReleaseVersionLabel>
10+
11+
<!-- differentiate experimental insertions to avoid package id conflicts,
12+
it has to be alphabetically after "preview" to avoid downgrade errors in VS -->
13+
<PreReleaseVersionLabel Condition="'$(IsExperimental)' == 'true'">test</PreReleaseVersionLabel>
1014
<DotNetUseShippingVersions>true</DotNetUseShippingVersions>
1115
<!-- Workaround for https://github.com/dotnet/roslyn/issues/35793 -->
1216
<SemanticVersioningV1>true</SemanticVersioningV1>

0 commit comments

Comments
 (0)