-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
77 lines (64 loc) · 3.11 KB
/
Directory.Build.props
File metadata and controls
77 lines (64 loc) · 3.11 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<Project>
<PropertyGroup>
<!-- Do not import the monorepo root Directory.Packages.props. This library owns its
own package versions and must also build correctly through local project references. -->
<ImportDirectoryPackagesProps>false</ImportDirectoryPackagesProps>
<!-- Opt out of Central Package Management — this library is a standalone
NuGet package with its own versioning, independent of the monorepo. -->
<ManagePackageVersionsCentrally>false</ManagePackageVersionsCentrally>
<!-- Multi-targeting: .NET 8 (LTS), .NET 9, .NET 10 -->
<TargetFrameworks>net8.0;net9.0;net10.0</TargetFrameworks>
<!-- Language & Nullability -->
<LangVersion>latest</LangVersion>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<!-- Build Quality -->
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<Deterministic>true</Deterministic>
<ContinuousIntegrationBuild Condition="'$(GITHUB_ACTIONS)' == 'true'">true</ContinuousIntegrationBuild>
<!-- Strong Naming - All assemblies are signed with the same key for identity and tamper protection. -->
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>$(MSBuildThisFileDirectory)Smtp2Go.NET.snk</AssemblyOriginatorKeyFile>
<!-- SourceLink -->
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<RepositoryType>git</RepositoryType>
<!--
Trim/AOT Analysis - Disabled by default.
Enable when migrating to source-generated JSON serializers.
-->
<EnableTrimAnalyzer>false</EnableTrimAnalyzer>
<IsTrimmable>false</IsTrimmable>
<IsAotCompatible>false</IsAotCompatible>
<!--
Documentation - Generate XML docs but don't fail on missing comments.
CS1591: Missing XML comment for publicly visible type or member
-->
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<NoWarn>$(NoWarn);CS1591</NoWarn>
</PropertyGroup>
<!--
Centralized NuGet Package Metadata
Individual projects override PackageId, Version, Description, and PackageTags as needed.
-->
<PropertyGroup>
<Authors>Alos Engineering</Authors>
<Company>Alos Engineering</Company>
<Copyright>Copyright (c) $([System.DateTime]::Now.Year) Alos Engineering</Copyright>
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
<PackageProjectUrl>https://github.com/Alos-no/Smtp2Go.NET</PackageProjectUrl>
<RepositoryUrl>https://github.com/Alos-no/Smtp2Go.NET</RepositoryUrl>
<PackageReadmeFile>README.md</PackageReadmeFile>
<!-- Package generation settings -->
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<IsPackable>true</IsPackable>
<!-- Package Validation - Ensures API compatibility and package correctness. -->
<EnablePackageValidation>true</EnablePackageValidation>
</PropertyGroup>
<!-- SourceLink Package -->
<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All" />
</ItemGroup>
</Project>