-
-
Notifications
You must be signed in to change notification settings - Fork 23
Expand file tree
/
Copy pathThisAssembly.Git.csproj
More file actions
38 lines (30 loc) · 1.22 KB
/
ThisAssembly.Git.csproj
File metadata and controls
38 lines (30 loc) · 1.22 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
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<LangVersion>latest</LangVersion>
<IsRoslynComponent>true</IsRoslynComponent>
<DevelopmentDependency>true</DevelopmentDependency>
<PackBuildOutput>false</PackBuildOutput>
</PropertyGroup>
<PropertyGroup>
<PackageId>ThisAssembly.Git</PackageId>
<Description>
This package generates a static `ThisAssembly.Git` class with public
constants for the following properties provided by Microsoft.SourceLink (git-based) packages:
* Commit
* Sha (first 9 chars from Commit)
* Root (normalized to forward slashes)
* Url (if PublishRepositoryUrl=true)
It also provides the Branch property, calculated from supported CI
environment variables (GitHub Actions, Azure DevOps, AppVeyor, TeamCity,
Travis CI, Circle CI, GitLab CI, Buddy, and Jenkins).
</Description>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\ThisAssembly.Constants\ThisAssembly.Constants.csproj" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="NuGetizer" Version="1.4.7" />
</ItemGroup>
<Import Project="..\Shared\Shared.projitems" Label="Shared" />
</Project>