-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
36 lines (31 loc) · 1.57 KB
/
Copy pathDirectory.Build.props
File metadata and controls
36 lines (31 loc) · 1.57 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
<Project>
<PropertyGroup>
<Authors>Stuart Meeks</Authors>
<Company>Next Iteration</Company>
<Copyright>Copyright © $([System.DateTime]::UtcNow.Year) Stuart Meeks</Copyright>
</PropertyGroup>
<PropertyGroup>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<LangVersion>latest</LangVersion>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
</PropertyGroup>
<!-- Nerdbank.GitVersioning stamps every assembly with a git-derived version
(base + height + commit hash) from the repo-root version.json. Build-time
only, so PrivateAssets="all" keeps it out of downstream references. -->
<ItemGroup>
<PackageReference Include="Nerdbank.GitVersioning" PrivateAssets="all" />
</ItemGroup>
<!-- Suppress the SQLitePCLRaw.lib.e_sqlite3 advisory pulled in transitively by
Microsoft.Data.Sqlite (history.db). The fix is a SQLitePCLRaw 2.x->3.x major
jump that Microsoft.Data.Sqlite 10.x doesn't yet bind, and TreatWarningsAsErrors
turns the NuGetAudit warning into a hard restore failure. The advisory concerns
native SQLite parsing of untrusted database files; Snipdeck only ever opens its
own local history.db, so the practical exposure is minimal. Remove this once a
Microsoft.Data.Sqlite release ships a patched native library. -->
<ItemGroup>
<NuGetAuditSuppress Include="https://github.com/advisories/GHSA-2m69-gcr7-jv3q" />
</ItemGroup>
</Project>