Repository navigation
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
47 lines (39 loc) · 2.58 KB
/
Copy pathDirectory.Build.props
File metadata and controls
47 lines (39 loc) · 2.58 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
<Project>
<PropertyGroup>
<Authors>H.P. Gansevoort</Authors>
<Copyright>Copyright (c) 2026 H.P. Gansevoort</Copyright>
<PackageProjectUrl>https://github.com/xkqg/MatPlotLibNet</PackageProjectUrl>
<!-- One image for all fourteen packages. Without it every NuGet search row and every row of the Visual
Studio package manager shows a placeholder. The file is drawn by the library itself — see sample 43 in
Samples/MatPlotLibNet.Samples.Console — so it cannot drift away from what the library actually renders. -->
<PackageIcon>icon.png</PackageIcon>
<RepositoryUrl>https://github.com/xkqg/MatPlotLibNet</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<NoWarn>$(NoWarn);CS1591</NoWarn>
<!-- Repo-wide, non-Windows only: docfx passes the WPF block's TargetFramework as a GLOBAL property, and a
global property spills onto that project's references. On the Linux Pages runner MatPlotLibNet and
MatPlotLibNet.Skia then read as Windows-targeting and refuse with "To build a project targeting Windows
on this operating system, set the EnableWindowsTargeting property to true" — after which docfx falls
back to the raw ref assemblies and the WPF metadata dies on CS1704/CS0246. Setting it here rather than
per-project means no project can be caught by that spill again. It only widens targeting-pack
acceptance for non-runtime tasks; nothing runs differently on Windows. -->
<EnableWindowsTargeting Condition=" '$(OS)' != 'Windows_NT' ">true</EnableWindowsTargeting>
<!-- Deterministic & reproducible builds -->
<Deterministic>true</Deterministic>
<ContinuousIntegrationBuild Condition="'$(CI)' == 'true'">true</ContinuousIntegrationBuild>
<!-- Source Link & symbol packages -->
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<DebugType>embedded</DebugType>
</PropertyGroup>
<ItemGroup>
<None Include="$(MSBuildThisFileDirectory)icon.png" Pack="true" PackagePath="\" Visible="false" />
</ItemGroup>
<ItemGroup>
<!-- Pinned, not floating: the 8.x line and the 10.0.200-10.0.204 band are both named by CVE-2026-62900
(Microsoft.Build.Tasks.Git, the package SourceLink pulls) and neither has a patched release inside it.
10.0.303 is the fix; a floating range would drift back into a vulnerable band on its own. -->
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="10.0.303" PrivateAssets="All" />
</ItemGroup>
</Project>