-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBlackBoxSolutions.Diagnostics.csproj
More file actions
58 lines (50 loc) · 2.55 KB
/
BlackBoxSolutions.Diagnostics.csproj
File metadata and controls
58 lines (50 loc) · 2.55 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<!-- Multi-target frameworks -->
<TargetFrameworks>netstandard2.0;net5.0;net6.0;net7.0;net8.0;net9.0;</TargetFrameworks>
<ApplicationIcon>black-box-solutions.ico</ApplicationIcon>
<AnalysisLevel>latest</AnalysisLevel>
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
<Copyright>Black Box Solutions, Inc. 2025</Copyright>
<!-- Package metadata -->
<PackageId>BlackBoxSolutions.RuntimeDiagnostics</PackageId>
<Authors>Black Box Solutions</Authors>
<Company>Black Box Solutions</Company>
<Description>Helpers to capture and display runtime diagnostics (runtime snapshot and .NET environment variables).</Description>
<PackageTags>dotnet diagnostics runtime environment</PackageTags>
<PackageLicenseExpression>GPL-3.0-or-later</PackageLicenseExpression>
<RepositoryUrl>https://github.com/Black-Box-Solutions/runtime-diagnostics</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageProjectUrl>https://github.com/Black-Box-Solutions/runtime-diagnostics</PackageProjectUrl>
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
<PackageIcon>black-box-solutions.png</PackageIcon>
<PackageReadmeFile>README.md</PackageReadmeFile>
<!-- Symbols/source linking -->
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
</PropertyGroup>
<!-- Nerdbank.GitVersioning - provides MSBuild versioning based on Git history. -->
<ItemGroup>
<PackageReference Include="Nerdbank.GitVersioning" Version="3.8.118" PrivateAssets="all" />
</ItemGroup>
<!-- Newtonsoft Conditional dependency for netstandard2.0 only -->
<!--
NOTE: For netstandard2.0, NewtonsoftJson is required for JSON serialization.
For .NET 5.0 and later, System.Text.Json is used as it is built-in.
Ensure that code handles JSON serialization consistently across all target frameworks.
-->
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
<PackageReference Include="Newtonsoft.Json" Version="13.0.4" />
</ItemGroup>
<!-- SourceLink for GitHub -->
<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="all" />
</ItemGroup>
<ItemGroup>
<!-- Do not include the CI workflow in the NuGet package -->
<None Include=".github\workflows\pack-and-publish.yml" Pack="false" />
<None Include="README.md" Pack="true" PackagePath="" />
<None Include="LICENSE" Pack="true" PackagePath="" Condition="Exists('LICENSE')" />
<None Include="black-box-solutions.png" Pack="true" PackagePath="" />
</ItemGroup>
</Project>