Skip to content

Commit 5335f61

Browse files
authored
Merge pull request #1475 from microsoft/dev/andarno/libtemplateUpdate
Merge latest Library.Template
2 parents d79ffed + d7aef76 commit 5335f61

17 files changed

+59
-74
lines changed

.config/dotnet-tools.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,21 @@
33
"isRoot": true,
44
"tools": {
55
"powershell": {
6-
"version": "7.5.2",
6+
"version": "7.5.3",
77
"commands": [
88
"pwsh"
99
],
1010
"rollForward": false
1111
},
1212
"dotnet-coverage": {
13-
"version": "17.14.2",
13+
"version": "18.0.4",
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
],

.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

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
## Ignore Visual Studio temporary files, build results, and
22
## files generated by popular Visual Studio add-ons.
33
##
4-
## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
4+
## Get latest from https://github.com/github/gitignore/blob/main/VisualStudio.gitignore
55

66
# User-specific files
77
*.rsuser

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ Trigger the pipeline by adding the `auto-release` tag on a run of your main `azu
7171

7272
## Tutorial and API documentation
7373

74-
API and hand-written docs are found under the `docfx/` directory. and are built by [docfx](https://dotnet.github.io/docfx/).
74+
API and hand-written docs are found under the `docfx/` directory and are built by [docfx](https://dotnet.github.io/docfx/).
7575

7676
You can make changes and host the site locally to preview them by switching to that directory and running the `dotnet docfx --serve` command.
7777
After making a change, you can rebuild the docs site while the localhost server is running by running `dotnet docfx` again from a separate terminal.
@@ -93,7 +93,7 @@ If Renovate is not creating pull requests when you expect it to, check that the
9393
### Maintaining your repo based on this template
9494

9595
The best way to keep your repo in sync with Library.Template's evolving features and best practices is to periodically merge the template into your repo:
96-
`
96+
9797
```ps1
9898
git fetch
9999
git checkout origin/main

Directory.Build.props

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
<BaseOutputPath Condition=" '$(BaseOutputPath)' == '' ">$(RepoRootPath)bin\$(MSBuildProjectName)\</BaseOutputPath>
88
<PackageOutputPath>$(RepoRootPath)bin\Packages\$(Configuration)\NuGet\</PackageOutputPath>
99
<VSIXOutputPath>$(RepoRootPath)bin\Packages\$(Configuration)\Vsix\$(Platform)\</VSIXOutputPath>
10+
<VSIXOutputPath Condition="'$(Platform)'=='' or '$(Platform)'=='AnyCPU'">$(RepoRootPath)bin\Packages\$(Configuration)\Vsix\</VSIXOutputPath>
1011
<SBOMFileDestPath>$(VSIXOutputPath)</SBOMFileDestPath>
1112
<Nullable>enable</Nullable>
1213
<ImplicitUsings>enable</ImplicitUsings>
@@ -17,6 +18,9 @@
1718
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
1819
<EnableWindowsTargeting>true</EnableWindowsTargeting>
1920

21+
<!-- https://learn.microsoft.com/en-us/dotnet/fundamentals/apicompat/package-validation/overview -->
22+
<EnablePackageValidation>true</EnablePackageValidation>
23+
2024
<!-- https://github.com/dotnet/msbuild/blob/main/documentation/ProjectReference-Protocol.md#setplatform-negotiation -->
2125
<EnableDynamicPlatformResolution>true</EnableDynamicPlatformResolution>
2226

Directory.Packages.props

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
66
<CentralPackageTransitivePinningEnabled>true</CentralPackageTransitivePinningEnabled>
77

8-
<MicroBuildVersion>2.0.199</MicroBuildVersion>
8+
<MicroBuildVersion>2.0.201</MicroBuildVersion>
99
<MetadataVersion>61.0.15-preview</MetadataVersion>
1010
<WDKMetadataVersion>0.12.8-experimental</WDKMetadataVersion>
1111
<!-- <DiaMetadataVersion>0.2.185-preview-g7e1e6a442c</DiaMetadataVersion> -->
@@ -40,8 +40,8 @@
4040
<ItemGroup Label="Library.Template">
4141
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.14.1" />
4242
<PackageVersion Include="Microsoft.VisualStudio.Internal.MicroBuild.NonShipping" Version="$(MicroBuildVersion)" />
43-
<PackageVersion Include="xunit.runner.visualstudio" Version="3.1.4" />
44-
<PackageVersion Include="xunit.v3" Version="3.0.1" />
43+
<PackageVersion Include="xunit.runner.visualstudio" Version="3.1.5" />
44+
<PackageVersion Include="xunit.v3" Version="3.1.0" />
4545
</ItemGroup>
4646
<ItemGroup>
4747
<!-- Put repo-specific GlobalPackageReference items in this group. -->
@@ -51,7 +51,7 @@
5151
<GlobalPackageReference Include="DotNetAnalyzers.DocumentationAnalyzers" Version="1.0.0-beta.59" />
5252
<GlobalPackageReference Include="Microsoft.VisualStudio.Internal.MicroBuild.VisualStudio" Version="$(MicroBuildVersion)" />
5353
<!-- The condition works around https://github.com/dotnet/sdk/issues/44951 -->
54-
<GlobalPackageReference Include="Nerdbank.GitVersioning" Version="3.7.115" Condition="!('$(TF_BUILD)'=='true' and '$(dotnetformat)'=='true')" />
54+
<GlobalPackageReference Include="Nerdbank.GitVersioning" Version="3.8.118" Condition="!('$(TF_BUILD)'=='true' and '$(dotnetformat)'=='true')" />
5555
<GlobalPackageReference Include="PolySharp" Version="1.15.0" Condition="'$(DisablePolyfill)'!='true'" />
5656
<GlobalPackageReference Include="StyleCop.Analyzers.Unstable" Version="1.2.0.556" />
5757
</ItemGroup>

azure-pipelines/apiscan.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,10 @@ jobs:
4949
isLargeApp: false
5050
toolVersion: Latest
5151
preserveLogsFolder: true
52+
azureSubscription: VSEng-APIScanSC
5253
env:
53-
AzureServicesAuthConnectionString: runAs=App;AppId=$(ApiScanClientId)
54+
AzureServicesAuthConnectionString: $(APIScanAuthConnectionString)
55+
SYSTEM_ACCESSTOKEN: $(System.AccessToken)
5456

5557
# File bugs when APIScan finds issues
5658
- task: TSAUpload@2

azure-pipelines/build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ jobs:
125125
signType: test
126126
sbom:
127127
enabled: true
128+
sbomToolVersion: 5.0.3
128129
localization:
129130
enabled: ${{ parameters.EnableLocalization }}
130131
${{ if eq(variables['Build.Reason'], 'pullRequest') }}:

0 commit comments

Comments
 (0)