-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
72 lines (67 loc) · 3.7 KB
/
Copy pathDirectory.Build.props
File metadata and controls
72 lines (67 loc) · 3.7 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
<Project>
<!--
Solution-wide MSBuild defaults. Auto-imported at the top of every project's evaluation,
so TargetFramework and language settings defined here are visible to the SDK targets.
Individual projects override only what they must (e.g. a WASM project's SDK).
-->
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<LangVersion>latest</LangVersion>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<!--
NuGet audit findings (NU1901-NU1904) stay visible as warnings but do not break the build:
they depend on an external advisory DB and can flip a green build red with no code change.
Track them with the "dotnet list package" vulnerable report and remediate by pinning fixes.
NU1900 is the same class of problem one step earlier: it means the advisory source itself could
not be reached, so without it here any restore behind an offline or proxied network fails the
build outright - the audit not running is not a defect in the code being built.
-->
<WarningsNotAsErrors>$(WarningsNotAsErrors);NU1900;NU1901;NU1902;NU1903;NU1904</WarningsNotAsErrors>
<EnableNETAnalyzers>true</EnableNETAnalyzers>
<AnalysisLevel>latest-recommended</AnalysisLevel>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<!--
CS1591 : missing XML doc comments are encouraged but not build-breaking.
CA1720 : provider-agnostic DbType enums intentionally use type-like names (String, Guid, ...).
-->
<NoWarn>$(NoWarn);CS1591;CA1720</NoWarn>
<Deterministic>true</Deterministic>
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
</PropertyGroup>
<PropertyGroup>
<Product>Weir</Product>
<Company>FrigaT</Company>
<Authors>FrigaT</Authors>
<Copyright>Copyright (c) 2026 FrigaT</Copyright>
<NeutralLanguage>en</NeutralLanguage>
</PropertyGroup>
<!-- Package / release metadata. The version is derived from the git tag by MinVer (tag v1.2.3 ->
1.2.3; commits after a tag get a -preview suffix), so no VersionPrefix is set here. SourceLink +
snupkg symbols make the published packages source-debuggable. -->
<PropertyGroup>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageProjectUrl>https://github.com/jrfrigat/weir</PackageProjectUrl>
<RepositoryUrl>https://github.com/jrfrigat/weir</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageTags>mssql;sql-server;postgresql;stored-procedure;api-gateway;http-gateway;dapper;json;aspnetcore;dotnet</PackageTags>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageIcon>icon.png</PackageIcon>
<!-- SourceLink + symbols: embed repo/commit info and ship snupkg symbol packages. -->
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<!-- MinVer: derive the version from the "v" git tag. -->
<MinVerTagPrefix>v</MinVerTagPrefix>
<MinVerDefaultPreReleaseIdentifiers>preview</MinVerDefaultPreReleaseIdentifiers>
</PropertyGroup>
<!-- Shared NuGet package README and icon, embedded into every packable project (the packages carry
one brand README and the Weir mark on nuget.org). Harmless for IsPackable=false projects, which
are never packed. -->
<ItemGroup>
<None Include="$(MSBuildThisFileDirectory)build\package-readme.md" Pack="true" PackagePath="README.md" Visible="false" />
<None Include="$(MSBuildThisFileDirectory)build\package-icon.png" Pack="true" PackagePath="icon.png" Visible="false" />
</ItemGroup>
</Project>