From 69358850cf4c26a16f5ec1b1c68f696752646b47 Mon Sep 17 00:00:00 2001 From: BEN ABT Date: Sat, 26 Apr 2025 10:39:13 +0200 Subject: [PATCH] Standardize formatting in build configuration files This commit improves the readability of `Directory.Build.props` and `Directory.Packages.props` by standardizing indentation and formatting. The `PublicKey` section has been reformatted for clarity, and all `PackageVersion` entries for `Microsoft.CodeAnalysis` packages now consistently include `PrivateAssets` and `IncludeAssets` attributes. --- Directory.Build.props | 225 ++++++++++++++++++++------------------- Directory.Packages.props | 15 ++- 2 files changed, 129 insertions(+), 111 deletions(-) diff --git a/Directory.Build.props b/Directory.Build.props index 5e3c143..4d6188f 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -1,125 +1,134 @@ - - MyCSharp.HttpClientHints - MyCSharp.de, Benjamin Abt, Günther Foidl and Contributors - MyCSharp.de - + + MyCSharp.HttpClientHints + MyCSharp.de, Benjamin Abt, Günther Foidl and Contributors + MyCSharp.de + - - true - true - true + + true + true + true - $(MSBuildProjectName.EndsWith('Tests')) - $(MSBuildProjectName.EndsWith('UnitTests')) - $(MSBuildProjectName.EndsWith('IntegrationTests')) - $(MsBuildProjectName.EndsWith('Benchmarks')) - + $(MSBuildProjectName.EndsWith('Tests')) + $(MSBuildProjectName.EndsWith('UnitTests')) + $(MSBuildProjectName.EndsWith('IntegrationTests')) + $(MsBuildProjectName.EndsWith('Benchmarks')) + - - net8.0;net9.0;net10.0 - MyCSharp.$(MSBuildProjectName) - MyCSharp.$(MSBuildProjectName) - + + net8.0;net9.0;net10.0 + MyCSharp.$(MSBuildProjectName) + MyCSharp.$(MSBuildProjectName) + - - true - $(MSBuildThisFileDirectory)MyCSharp.HttpClientHints.snk + + true + $(MSBuildThisFileDirectory)MyCSharp.HttpClientHints.snk - - 002400000480000094000000060200000024000052534131000400000100010049809bc922cd71 - a1539dd60826caafead07781420334254bdc0c276165f7313f241833f972437ee215684b4e10de - 49501812fa7fcdb18baead466e32978ca3e45ff7c82616283718d6ab2b729ab40e656fb856a845 - cede9fdd2b449fc34a99edf258524ce5e1f958a9598efba2953e34e179b13c086500f9b72ca08a - 065effe0 - - + + 002400000480000094000000060200000024000052534131000400000100010049809bc922cd71 + a1539dd60826caafead07781420334254bdc0c276165f7313f241833f972437ee215684b4e10de + 49501812fa7fcdb18baead466e32978ca3e45ff7c82616283718d6ab2b729ab40e656fb856a845 + cede9fdd2b449fc34a99edf258524ce5e1f958a9598efba2953e34e179b13c086500f9b72ca08a + 065effe0 + + - - preview - embedded - enable - en-US - enable - true - + + preview + embedded + enable + en-US + enable + true + - - false - true - 2.12 - true + + false + true + 2.12 + true - HTTP Client Hints for .NET - https://github.com/mycsharp/HttpClientHints - https://github.com/mycsharp/HttpClientHints - UserAgent, User Agent, Client Hints, Browser, Client, Detector, Detection, Console, ASP, Desktop, Mobile - + HTTP Client Hints for .NET + https://github.com/mycsharp/HttpClientHints + https://github.com/mycsharp/HttpClientHints + UserAgent, User Agent, Client Hints, Browser, Client, Detector, Detection, Console, ASP, Desktop, Mobile + - - true - + + true + - - - true - + + + true + - - true - all - low - + + true + all + low + - - - - - - all - runtime; build; native; contentfiles; analyzers - - - - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - + + + + + + all + runtime; build; native; contentfiles; analyzers + + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + - - - all - runtime; build; native; contentfiles; analyzers - - - all - runtime; build; native; contentfiles; analyzers - - - all - runtime; build; native; contentfiles; analyzers - - - - - - all - runtime; build; native; contentfiles; analyzers - - + + + all + runtime; build; native; contentfiles; analyzers + + + all + runtime; build; native; contentfiles; analyzers + + + all + runtime; build; native; contentfiles; analyzers + + + all + runtime; build; native; contentfiles; analyzers + + + all + runtime; build; native; contentfiles; analyzers + + + all + runtime; build; native; contentfiles; analyzers + + + all + runtime; build; native; contentfiles; analyzers + + - - - - - + + + + + diff --git a/Directory.Packages.props b/Directory.Packages.props index 9553c73..ab8253c 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -46,9 +46,18 @@ all runtime; build; native; contentfiles; analyzers - - - + + all + runtime; build; native; contentfiles; analyzers + + + all + runtime; build; native; contentfiles; analyzers + + + all + runtime; build; native; contentfiles; analyzers + all runtime; build; native; contentfiles; analyzers