-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
29 lines (26 loc) · 1.35 KB
/
Copy pathDirectory.Build.props
File metadata and controls
29 lines (26 loc) · 1.35 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
<Project>
<PropertyGroup>
<!-- Target framework + C# language settings shared by every project in the repo.
Individual projects only override these when they have a concrete reason to. -->
<TargetFramework>net10.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<LangVersion>latest</LangVersion>
<!-- Single version source of truth: MinVer derives the version from Git tags
(prefix `v`) for every packable project, replacing the former hard-coded
<Version>. At release time CI passes -p:Version explicitly to `dotnet pack`
to pin the published artifacts to the exact tag (.github/workflows/publish.yml);
that override and MinVer agree because the tagged commit is HEAD. -->
<MinVerTagPrefix>v</MinVerTagPrefix>
<!-- Shared package metadata -->
<Authors>Nick B. Nassiri</Authors>
<PackageProjectUrl>https://github.com/nickna/SharpTS</PackageProjectUrl>
<RepositoryUrl>https://github.com/nickna/SharpTS.git</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageLicenseFile>LICENSE</PackageLicenseFile>
</PropertyGroup>
<ItemGroup>
<!-- Repo-wide automatic versioning from Git tags. Build-time only (PrivateAssets=All). -->
<PackageReference Include="MinVer" Version="6.0.0" PrivateAssets="All" />
</ItemGroup>
</Project>