Skip to content

Commit 2e66358

Browse files
committed
Move to Microsoft.SourceLink.GitHub
1 parent 0f6e2a1 commit 2e66358

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

LibGit2Sharp/LibGit2Sharp.csproj

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,13 @@
99
<PackageTags>libgit2 git</PackageTags>
1010
<PackageProjectUrl>https://github.com/libgit2/libgit2sharp/</PackageProjectUrl>
1111
<Authors>LibGit2Sharp contributors</Authors>
12+
<PublishRepositoryUrl>true</PublishRepositoryUrl>
13+
<EmbedUntrackedSources>true</EmbedUntrackedSources>
1214
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
1315
<SignAssembly>true</SignAssembly>
1416
<AssemblyOriginatorKeyFile>..\libgit2sharp.snk</AssemblyOriginatorKeyFile>
1517
</PropertyGroup>
1618

17-
<!-- Disable SourceLink when running on Travis CI -->
18-
<PropertyGroup>
19-
<SourceLinkCreate Condition="'$(TRAVIS)' == 'true'">false</SourceLinkCreate>
20-
</PropertyGroup>
21-
2219
<ItemGroup>
2320
<CodeAnalysisDictionary Include="CustomDictionary.xml" />
2421
<None Include="Core\Handles\Objects.tt">
@@ -33,9 +30,8 @@
3330

3431
<ItemGroup>
3532
<PackageReference Include="LibGit2Sharp.NativeBinaries" Version="[1.0.226]" PrivateAssets="none" />
33+
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0-beta-63127-02" PrivateAssets="all" />
3634
<PackageReference Include="Nerdbank.GitVersioning" Version="2.2.10" PrivateAssets="all" />
37-
<PackageReference Include="SourceLink.Create.GitHub" Version="2.8.0" PrivateAssets="all" />
38-
<DotNetCliToolReference Include="dotnet-sourcelink-git" Version="2.8.0" />
3935
</ItemGroup>
4036

4137
<Import Project="..\Targets\CodeGenerator.targets" />

0 commit comments

Comments
 (0)