|
1 | 1 | <Project Sdk="Microsoft.NET.Sdk">
|
| 2 | + |
2 | 3 | <PropertyGroup>
|
3 | 4 | <TargetFrameworks>net40;netstandard2.0</TargetFrameworks>
|
4 | 5 | <GenerateDocumentationFile>true</GenerateDocumentationFile>
|
5 | 6 | <Description>LibGit2Sharp brings all the might and speed of libgit2, a native Git implementation, to the managed world of .Net and Mono.</Description>
|
6 | 7 | <Company>LibGit2Sharp contributors</Company>
|
| 8 | + <Copyright>Copyright © LibGit2Sharp contributors</Copyright> |
7 | 9 | <PackageTags>libgit2 git</PackageTags>
|
8 | 10 | <PackageProjectUrl>https://github.com/libgit2/libgit2sharp/</PackageProjectUrl>
|
9 | 11 | <Authors>LibGit2Sharp contributors</Authors>
|
10 |
| - |
11 | 12 | <SignAssembly>true</SignAssembly>
|
12 | 13 | <AssemblyOriginatorKeyFile>..\libgit2sharp.snk</AssemblyOriginatorKeyFile>
|
13 | 14 | <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
14 | 15 | <DefineConstants Condition=" '$(TargetFramework)' == 'net40' ">$(DefineConstants);DESKTOP</DefineConstants>
|
15 | 16 | </PropertyGroup>
|
| 17 | + |
16 | 18 | <ItemGroup>
|
17 | 19 | <CodeAnalysisDictionary Include="CustomDictionary.xml" />
|
18 | 20 | <None Include="Core\Handles\Objects.tt">
|
|
22 | 24 | <None Include="..\README.md" Pack="true" PackagePath="App_Readme\" />
|
23 | 25 | <None Include="..\LICENSE.md" Pack="true" PackagePath="App_Readme\" />
|
24 | 26 | <None Include="..\CHANGES.md" Pack="true" PackagePath="App_Readme\" />
|
25 |
| - |
26 |
| - <Compile Update="Core\Handles\Objects.cs"> |
27 |
| - <DependentUpon>Objects.tt</DependentUpon> |
28 |
| - </Compile> |
| 27 | + <Compile Update="Core\Handles\Objects.cs" DependentUpon="Objects.tt" /> |
29 | 28 | </ItemGroup>
|
| 29 | + |
30 | 30 | <ItemGroup>
|
31 | 31 | <PackageReference Include="LibGit2Sharp.NativeBinaries" Version="[1.0.185]" PrivateAssets="contentFiles" />
|
32 | 32 | <PackageReference Include="SourceLink.Create.GitHub" Version="2.1.2" PrivateAssets="all" />
|
33 | 33 | <DotNetCliToolReference Include="dotnet-sourcelink-git" Version="2.1.2" />
A3D4
|
34 | 34 | </ItemGroup>
|
| 35 | + |
35 | 36 | <ItemGroup Condition=" '$(TargetFramework)' == 'netstandard1.3' ">
|
36 | 37 | <PackageReference Include="System.Security.SecureString" Version="4.0.0" />
|
37 | 38 | <PackageReference Include="System.IO.UnmanagedMemoryStream" Version="4.0.1" />
|
38 | 39 | <PackageReference Include="System.Diagnostics.TraceSource" Version="4.0.0" />
|
39 | 40 | </ItemGroup>
|
| 41 | + |
40 | 42 | <Import Project="CodeGenerator.targets" />
|
| 43 | + |
41 | 44 | <Target Name="SetNuSpecProperties" BeforeTargets="GenerateNuspec" DependsOnTargets="GetBuildVersion">
|
42 | 45 | <PropertyGroup>
|
43 | 46 | <PackageIconUrl>https://github.com/libgit2/libgit2sharp/raw/$(GitCommitIdShort)/square-logo.png</PackageIconUrl>
|
44 | 47 | <PackageReleaseNotes>https://github.com/libgit2/libgit2sharp/blob/$(GitCommitIdShort)/CHANGES.md#libgit2sharp-changes</PackageReleaseNotes>
|
45 | 48 | <PackageLicenseUrl>https://github.com/libgit2/libgit2sharp/raw/$(GitCommitIdShort)/LICENSE.md</PackageLicenseUrl>
|
46 | 49 | </PropertyGroup>
|
47 | 50 | </Target>
|
| 51 | + |
48 | 52 | </Project>
|
0 commit comments