Skip to content

Commit f50d6a5

Browse files
AArnotttrevors20renovate[bot]
authored
Merge latest Library.Template (#378)
* Drop redundant condition from YAML * Merge pull request 435 from trevors20/dev/trevors/microbuild/updateinsert251110 Add the VSDrop service connection to the insert vs payload * Update dependency Microsoft.NET.Test.Sdk to 18.0.1 Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * Build with the .NET 10 SDK * Adapt to breaking .NET 10 SDK change Workaround for dotnet/sdk#51666 * Fix ARM64 detection on macOS * Pin mcr.microsoft.com/dotnet/sdk Docker tag to c7445f1 Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * Bump C# language version to 14 --------- Co-authored-by: trevors20 <[email protected]> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2 parents c63cb2b + ce2f8b4 commit f50d6a5

File tree

8 files changed

+21
-8
lines changed

8 files changed

+21
-8
lines changed

.github/workflows/docs_validate.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,3 @@ jobs:
2929
run: dotnet build -c Release tools/analyzers.proj
3030
- name: 📚 Verify docfx build
3131
run: dotnet docfx docfx/docfx.json --warningsAsErrors --disableGitFeatures
32-
if: runner.os == 'Linux'

Directory.Build.props

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
1616
<GenerateDocumentationFile>true</GenerateDocumentationFile>
1717
<ProduceReferenceAssembly>true</ProduceReferenceAssembly>
18+
<RestoreEnablePackagePruning>true</RestoreEnablePackagePruning>
1819

1920
<!-- https://learn.microsoft.com/en-us/dotnet/fundamentals/apicompat/package-validation/overview -->
2021
<EnablePackageValidation>true</EnablePackageValidation>
@@ -42,7 +43,7 @@
4243
</PropertyGroup>
4344

4445
<PropertyGroup>
45-
<LangVersion Condition="'$(MSBuildProjectExtension)'=='.csproj'">13</LangVersion>
46+
<LangVersion Condition="'$(MSBuildProjectExtension)'=='.csproj'">14</LangVersion>
4647
<LangVersion Condition="'$(MSBuildProjectExtension)'=='.vbproj'">16.9</LangVersion>
4748
</PropertyGroup>
4849

Directory.Packages.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
<PackageVersion Include="xunit.v3.core.mtp-v1" Version="3.2.0" />
3838
</ItemGroup>
3939
<ItemGroup Label="Library.Template">
40-
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="18.0.0" />
40+
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="18.0.1" />
4141
<PackageVersion Include="Microsoft.VisualStudio.Internal.MicroBuild.NonShipping" Version="$(MicroBuildVersion)" />
4242
<PackageVersion Include="xunit.runner.visualstudio" Version="3.1.5" />
4343
<PackageVersion Include="xunit.v3" Version="3.2.0" />

azure-pipelines/OptProf.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,10 @@ stages:
9797
TeamEmail: $(TeamEmail)
9898
SkipCreatePR: true
9999
CustomScriptExecutionCommand: src\VSSDK\NuGet\AllowUnstablePackages.ps1
100+
${{ if eq(variables['system.collectionId'], '011b8bdf-6d56-4f87-be0d-0092136884d9') }}:
101+
ConnectedVSDropServiceName: 'VSEng-VSDrop-MI'
102+
env:
103+
SYSTEM_ACCESSTOKEN: $(System.AccessToken)
100104
- task: benjhuser.tfs-extensions-build-tasks.trigger-build-task.TriggerBuild@3
101105
displayName: Trigger a new build of DD-CB-TestSignVS-devCI
102106
inputs:

azure-pipelines/vs-insertion.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,11 @@ extends:
6969
AutoCompletePR: true
7070
AutoCompleteMergeStrategy: Squash
7171
ShallowClone: true
72+
${{ if eq(variables['system.collectionId'], '011b8bdf-6d56-4f87-be0d-0092136884d9') }}:
73+
ConnectedVSDropServiceName: 'VSEng-VSDrop-MI'
74+
env:
75+
SYSTEM_ACCESSTOKEN: $(System.AccessToken)
76+
7277
- powershell: |
7378
$contentType = 'application/json';
7479
$headers = @{ Authorization = 'Bearer $(System.AccessToken)' };

azure-pipelines/vs-validation.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,10 @@ extends:
111111
DraftPR: false # set to true and update InsertionBuildPolicy when we can specify all the validations we want to run (https://dev.azure.com/devdiv/DevDiv/_workitems/edit/2224288)
112112
AutoCompletePR: false
113113
ShallowClone: true
114+
${{ if eq(variables['system.collectionId'], '011b8bdf-6d56-4f87-be0d-0092136884d9') }}:
115+
ConnectedVSDropServiceName: 'VSEng-VSDrop-MI'
116+
env:
117+
SYSTEM_ACCESSTOKEN: $(System.AccessToken)
114118
- powershell: |
115119
$insertionPRId = azure-pipelines/Get-InsertionPRId.ps1
116120
$Markdown = @"

global.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"sdk": {
3-
"version": "9.0.306",
3+
"version": "10.0.100",
44
"rollForward": "patch",
55
"allowPrerelease": false
66
},

tools/Install-DotNetSdk.ps1

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ if ($InstallLocality -eq 'machine') {
197197
$restartRequired = $false
198198
$sdks |% {
199199
if ($_.Version) { $version = $_.Version } else { $version = $_.Channel }
200-
if ($PSCmdlet.ShouldProcess(".NET SDK $_", "Install")) {
200+
if ($PSCmdlet.ShouldProcess(".NET SDK $version ($arch)", "Install")) {
201201
Install-DotNet -Version $version -Architecture $arch
202202
$restartRequired = $restartRequired -or ($LASTEXITCODE -eq 3010)
203203

@@ -281,10 +281,10 @@ if ($IncludeX86) {
281281
}
282282

283283
if ($IsMacOS -or $IsLinux) {
284-
$DownloadUri = "https://raw.githubusercontent.com/dotnet/install-scripts/0b09de9bc136cacb5f849a6957ebd4062173c148/src/dotnet-install.sh"
284+
$DownloadUri = "https://raw.githubusercontent.com/dotnet/install-scripts/a3fbd0fd625032bac207f1f590e5353fe26faa59/src/dotnet-install.sh"
285285
$DotNetInstallScriptPath = "$DotNetInstallScriptRoot/dotnet-install.sh"
286286
} else {
287-
$DownloadUri = "https://raw.githubusercontent.com/dotnet/install-scripts/0b09de9bc136cacb5f849a6957ebd4062173c148/src/dotnet-install.ps1"
287+
$DownloadUri = "https://raw.githubusercontent.com/dotnet/install-scripts/a3fbd0fd625032bac207f1f590e5353fe26faa59/src/dotnet-install.ps1"
288288
$DotNetInstallScriptPath = "$DotNetInstallScriptRoot/dotnet-install.ps1"
289289
}
290290

@@ -306,7 +306,7 @@ $global:LASTEXITCODE = 0
306306
$sdks |% {
307307
if ($_.Version) { $parameters = '-Version', $_.Version } else { $parameters = '-Channel', $_.Channel }
308308

309-
if ($PSCmdlet.ShouldProcess(".NET SDK $_", "Install")) {
309+
if ($PSCmdlet.ShouldProcess(".NET SDK $_ ($arch)", "Install")) {
310310
$anythingInstalled = $true
311311
Invoke-Expression -Command "$DotNetInstallScriptPathExpression $parameters -Architecture $arch -InstallDir $DotNetInstallDir $switches"
312312

0 commit comments

Comments
 (0)