Skip to content

Commit

Permalink
Update readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
kzu committed Oct 18, 2022
1 parent ec1935a commit f0ac7b8
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,15 +82,14 @@ VB:
ThisAssembly.Git.Commit)>
```

NET CORE:
MSBuild:

```
<!-- Just edit .csproj file -->
<ItemGroup>
<PackageReference Include="GitInfo" >
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>
<PackageReference Include="GitInfo" PrivateAssets="all" />
</ItemGroup>
<Target Name="PopulateInfo" DependsOnTargets="GitInfo" BeforeTargets="PrepareForBuild">
<PropertyGroup>
<RepositoryBranch>$(GitBranch)</RepositoryBranch>
Expand Down

0 comments on commit f0ac7b8

Please sign in to comment.