Skip to content

Commit 541620f

Browse files
authored
Merge pull request #1039 from dotnet/libtemplateUpdate
Merge latest Library.Template
2 parents 82b9858 + aeef985 commit 541620f

23 files changed

+68
-37
lines changed

.config/dotnet-tools.json

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,13 @@
33
"isRoot": true,
44
"tools": {
55
"powershell": {
6-
"version": "7.3.9",
6+
"version": "7.4.2",
77
"commands": [
88
"pwsh"
99
]
1010
},
11-
"dotnet-format": {
12-
"version": "5.1.250801",
13-
"commands": [
14-
"dotnet-format"
15-
]
16-
},
1711
"dotnet-coverage": {
18-
"version": "17.9.3",
12+
"version": "17.11.0",
1913
"commands": [
2014
"dotnet-coverage"
2115
]

.devcontainer/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Refer to https://hub.docker.com/_/microsoft-dotnet-sdk for available versions
2-
FROM mcr.microsoft.com/dotnet/sdk:8.0.100-jammy
2+
FROM mcr.microsoft.com/dotnet/sdk:8.0.201-jammy
33

44
# Installing mono makes `dotnet test` work without errors even for net472.
55
# But installing it takes a long time, so it's excluded by default.

.editorconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ indent_size = 4
4040
[*.{cs,vb}]
4141
# Sort using and Import directives with System.* appearing first
4242
dotnet_sort_system_directives_first = true
43+
dotnet_separate_import_directive_groups = false
4344
dotnet_style_qualification_for_field = true:warning
4445
dotnet_style_qualification_for_property = true:warning
4546
dotnet_style_qualification_for_method = true:warning

.github/dependabot.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,6 @@ updates:
77
directory: /
88
schedule:
99
interval: monthly
10-
ignore:
11-
# This package has unlisted versions on nuget.org that are not supported. Avoid them.
12-
- dependency-name: dotnet-format
13-
versions: ["6.x", "7.x", "8.x", "9.x"]
1410
- package-ecosystem: npm
1511
directory: /src/nerdbank-gitversioning.npm
1612
schedule:

.prettierrc.yaml

Whitespace-only changes.

.vscode/extensions.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"k--kato.docomment",
99
"editorconfig.editorconfig",
1010
"formulahendry.dotnet-test-explorer",
11+
"esbenp.prettier-vscode",
1112
"pflannery.vscode-versionlens",
1213
"davidanson.vscode-markdownlint",
1314
"dotjoshjohnson.xml",

.vscode/settings.json

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,20 @@
55
"files.trimFinalNewlines": true,
66
"omnisharp.enableEditorConfigSupport": true,
77
"omnisharp.enableRoslynAnalyzers": true,
8-
"dotnet.completion.showCompletionItemsFromUnimportedNamespaces": true
8+
"dotnet.completion.showCompletionItemsFromUnimportedNamespaces": true,
9+
"editor.formatOnSave": true,
10+
"[xml]": {
11+
"editor.wordWrap": "off"
12+
},
13+
// Treat these files as Azure Pipelines files
14+
"files.associations": {
15+
"**/azure-pipelines/**/*.yml": "azure-pipelines",
16+
"azure-pipelines.yml": "azure-pipelines"
17+
},
18+
// Use Prettier as the default formatter for Azure Pipelines files.
19+
// Needs to be explicitly configured: https://github.com/Microsoft/azure-pipelines-vscode#document-formatting
20+
"[azure-pipelines]": {
21+
"editor.defaultFormatter": "esbenp.prettier-vscode",
22+
"editor.formatOnSave": false // enable this when they conform
23+
},
924
}

Directory.Build.props

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<?xml version="1.0" encoding="utf-8"?>
12
<Project>
23
<PropertyGroup>
34
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>

Directory.Build.targets

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<?xml version="1.0" encoding="utf-8"?>
12
<Project>
23
<PropertyGroup>
34
<!-- Workaround https://github.com/dotnet/wpf/issues/1718 -->

Directory.Packages.props

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<?xml version="1.0" encoding="utf-8"?>
12
<Project>
23
<!-- https://learn.microsoft.com/nuget/consume-packages/central-package-management -->
34
<PropertyGroup>
@@ -23,7 +24,7 @@
2324
<PackageVersion Include="Microsoft.Build" Version="$(MSBuildPackageVersion)" />
2425
<PackageVersion Include="Microsoft.CodeAnalysis.CSharp" Version="4.6.0" />
2526
<PackageVersion Include="Microsoft.DotNet.PlatformAbstractions" Version="3.1.6" />
26-
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.8.0" />
27+
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.9.0" />
2728
<PackageVersion Include="Microsoft.Windows.CsWin32" Version="0.2.206-beta" />
2829
<PackageVersion Include="Nerdbank.GitVersioning.LKG" Version="3.4.173-alpha" />
2930
<PackageVersion Include="Newtonsoft.Json.Schema" Version="3.0.15" />
@@ -37,17 +38,17 @@
3738
<PackageVersion Include="System.Threading.Tasks.Dataflow" Version="8.0.0" />
3839
<PackageVersion Include="Validation" Version="2.5.51" />
3940
<PackageVersion Include="Xunit.Combinatorial" Version="1.6.24" />
40-
<PackageVersion Include="xunit.runner.visualstudio" Version="2.5.3" />
41+
<PackageVersion Include="xunit.runner.visualstudio" Version="2.8.0" />
4142
<PackageVersion Include="Xunit.SkippableFact" Version="1.4.13" />
42-
<PackageVersion Include="xunit" Version="2.6.1" />
43+
<PackageVersion Include="xunit" Version="2.8.0" />
4344
</ItemGroup>
4445
<ItemGroup>
4546
<GlobalPackageReference Include="CSharpIsNullAnalyzer" Version="0.1.495" />
4647
<GlobalPackageReference Include="DotNetAnalyzers.DocumentationAnalyzers" Version="1.0.0-beta.59" />
4748
<GlobalPackageReference Include="Nullable" Version="1.3.1" />
48-
<GlobalPackageReference Include="StyleCop.Analyzers.Unstable" Version="1.2.0.507" />
49+
<GlobalPackageReference Include="StyleCop.Analyzers.Unstable" Version="1.2.0.556" />
4950
</ItemGroup>
5051
<ItemGroup>
51-
<GlobalPackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" />
52+
<GlobalPackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" />
5253
</ItemGroup>
5354
</Project>

0 commit comments

Comments
 (0)