Skip to content

Commit e54cdff

Browse files
authored
Merge pull request #637 from microsoft/dev/andarno/libtemplateUpdate
Merge latest Library.Template
2 parents be47b98 + 5ae4052 commit e54cdff

File tree

16 files changed

+94
-56
lines changed

16 files changed

+94
-56
lines changed

.config/dotnet-tools.json

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,21 @@
33
"isRoot": true,
44
"tools": {
55
"powershell": {
6-
"version": "7.5.3",
6+
"version": "7.5.4",
77
"commands": [
88
"pwsh"
99
],
1010
"rollForward": false
1111
},
1212
"dotnet-coverage": {
13-
"version": "17.14.2",
13+
"version": "18.1.0",
1414
"commands": [
1515
"dotnet-coverage"
1616
],
1717
"rollForward": false
1818
},
1919
"nbgv": {
20-
"version": "3.7.115",
20+
"version": "3.8.118",
2121
"commands": [
2222
"nbgv"
2323
],
@@ -29,6 +29,13 @@
2929
"docfx"
3030
],
3131
"rollForward": false
32+
},
33+
"nerdbank.dotnetrepotools": {
34+
"version": "1.0.92",
35+
"commands": [
36+
"repo"
37+
],
38+
"rollForward": false
3239
}
3340
}
34-
}
41+
}

.devcontainer/Dockerfile

Lines changed: 0 additions & 14 deletions
This file was deleted.

.devcontainer/devcontainer.json

Lines changed: 0 additions & 25 deletions
This file was deleted.

.github/workflows/docs_validate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: 🔗 Markup Link Checker (mlc)
2020
uses: becheran/mlc@18a06b3aa2901ca197de59c8b0b1f54fdba6b3fa # v1.0.0
2121
with:
22-
args: --do-not-warn-for-redirect-to https://learn.microsoft.com*,https://dotnet.microsoft.com/*,https://dev.azure.com/*,https://app.codecov.io/* -p docfx -i https://aka.ms/onboardsupport,https://aka.ms/spot,https://msrc.microsoft.com/*,https://www.microsoft.com/msrc*,https://microsoft.com/msrc*
22+
args: --do-not-warn-for-redirect-to https://learn.microsoft.com*,https://dotnet.microsoft.com/*,https://dev.azure.com/*,https://app.codecov.io/* -p docfx -i https://aka.ms/onboardsupport,https://aka.ms/spot,https://msrc.microsoft.com/*,https://www.microsoft.com/msrc*,https://microsoft.com/msrc*,https://www.npmjs.com/package/*,https://get.dot.net/
2323
- name: ⚙ Install prerequisites
2424
run: |
2525
./init.ps1 -UpgradePrerequisites

Directory.Packages.props

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@
3939
<PackageVersion Include="Xunit.SkippableFact" Version="1.5.23" />
4040
</ItemGroup>
4141
<ItemGroup Label="Library.Template">
42-
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.14.1" />
42+
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="18.0.0" />
4343
<PackageVersion Include="Microsoft.VisualStudio.Internal.MicroBuild.NonShipping" Version="$(MicroBuildVersion)" />
44-
<PackageVersion Include="xunit.runner.visualstudio" Version="3.1.4" />
44+
<PackageVersion Include="xunit.runner.visualstudio" Version="3.1.5" />
4545
<PackageVersion Include="xunit" Version="2.9.3" />
4646
</ItemGroup>
4747
<ItemGroup>
@@ -52,7 +52,7 @@
5252
<GlobalPackageReference Include="DotNetAnalyzers.DocumentationAnalyzers" Version="1.0.0-beta.59" />
5353
<GlobalPackageReference Include="Microsoft.VisualStudio.Internal.MicroBuild.VisualStudio" Version="$(MicroBuildVersion)" />
5454
<!-- The condition works around https://github.com/dotnet/sdk/issues/44951 -->
55-
<GlobalPackageReference Include="Nerdbank.GitVersioning" Version="3.7.115" Condition="!('$(TF_BUILD)'=='true' and '$(dotnetformat)'=='true')" />
55+
<GlobalPackageReference Include="Nerdbank.GitVersioning" Version="3.8.118" Condition="!('$(TF_BUILD)'=='true' and '$(dotnetformat)'=='true')" />
5656
<GlobalPackageReference Include="PolySharp" Version="1.15.0" Condition="'$(DisablePolyfills)'!='true'" />
5757
<GlobalPackageReference Include="StyleCop.Analyzers.Unstable" Version="1.2.0.556" />
5858
</ItemGroup>

Microsoft.VisualStudio.Composition.slnx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
<Project Path="samples/Samples.csproj" />
44
</Folder>
55
<Folder Name="/Solution Items/">
6+
<File Path=".config/dotnet-tools.json" />
67
<File Path=".editorconfig" />
78
<File Path="Directory.Build.props" />
89
<File Path="Directory.Build.targets" />

azure-pipelines/archive-sourcecode.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ variables:
3535
extends:
3636
template: azure-pipelines/MicroBuild.1ES.Official.yml@MicroBuildTemplate
3737
parameters:
38+
settings:
39+
networkIsolationPolicy: Permissive,CFSClean
3840
sdl:
3941
sourceAnalysisPool: VSEngSS-MicroBuild2022-1ES
4042

azure-pipelines/libtemplate-update.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ variables:
3030
extends:
3131
template: azure-pipelines/MicroBuild.1ES.Unofficial.yml@MicroBuildTemplate
3232
parameters:
33+
settings:
34+
networkIsolationPolicy: Permissive,CFSClean
3335
sdl:
3436
sourceAnalysisPool:
3537
name: AzurePipelines-EO

azure-pipelines/official.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ variables:
4646
extends:
4747
template: azure-pipelines/MicroBuild.1ES.Official.yml@MicroBuildTemplate
4848
parameters:
49+
settings:
50+
networkIsolationPolicy: Permissive,CFSClean
4951
sdl:
5052
sourceAnalysisPool: VSEngSS-MicroBuild2022-1ES
5153
codeSignValidation:

azure-pipelines/release.yml

Lines changed: 26 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,16 @@ variables:
2020
extends:
2121
template: azure-pipelines/MicroBuild.1ES.Official.yml@MicroBuildTemplate
2222
parameters:
23+
settings:
24+
networkIsolationPolicy: Permissive,CFSClean
2325
sdl:
2426
sourceAnalysisPool: VSEngSS-MicroBuild2022-1ES
2527

2628
stages:
2729
- stage: release
2830
jobs:
29-
- job: release
31+
- job: nuget
32+
displayName: 📦 Push nuget.org packages
3033
pool:
3134
name: AzurePipelines-EO
3235
demands:
@@ -43,6 +46,28 @@ extends:
4346
publishFeedCredentials: VisualStudioExtensibility (nuget.org)
4447
steps:
4548
- checkout: none
49+
- download: CI
50+
artifact: deployables-Windows
51+
displayName: 🔻 Download deployables-Windows artifact
52+
patterns: 'NuGet/*'
53+
- job: github
54+
displayName: 📢 GitHub release
55+
dependsOn: nuget
56+
pool:
57+
name: AzurePipelines-EO
58+
demands:
59+
- ImageOverride -equals 1ESPT-Ubuntu22.04
60+
os: Linux
61+
templateContext:
62+
type: releaseJob
63+
isProduction: true
64+
inputs:
65+
- input: pipelineArtifact
66+
pipeline: CI
67+
artifactName: deployables-Windows
68+
targetPath: $(Pipeline.Workspace)/CI/deployables-Windows
69+
steps:
70+
- checkout: none
4671
- powershell: |
4772
Write-Host "##vso[build.updatebuildnumber]$(resources.pipeline.CI.runName)"
4873
if ('$(resources.pipeline.CI.runName)'.Contains('-')) {
@@ -51,10 +76,6 @@ extends:
5176
Write-Host "##vso[task.setvariable variable=IsPrerelease]false"
5277
}
5378
displayName: ⚙ Set up pipeline
54-
- download: CI
55-
artifact: deployables-Windows
56-
displayName: 🔻 Download deployables-Windows artifact
57-
patterns: 'NuGet/*'
5879
- task: GitHubRelease@1
5980
displayName: 📢 GitHub release (create)
6081
inputs:

0 commit comments

Comments
 (0)