Skip to content

Commit 221eef8

Browse files
committed
Enabled SourceLink support
Fixes #1
2 parents 2cad2cb + 9c9e972 commit 221eef8

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

src/Pitcher/Pitcher.csproj

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,26 +4,29 @@
44
<TargetFrameworks>net40;netstandard1.0;</TargetFrameworks>
55
<TreatWarningsAsErrors>True</TreatWarningsAsErrors>
66

7-
<Version>1.1.0</Version>
7+
<Version>1.2.0</Version>
88
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
99
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
10-
<IncludeSymbols>True</IncludeSymbols>
1110
<Description>Pitcher is helper library to simplify throwing exceptions and make methods easier to inline by reducing code size.</Description>
1211
<Copyright>© Alex Kamsteeg</Copyright>
1312
<Authors>Alex Kamsteeg (https://atlex.nl/)</Authors>
1413
<Company />
1514
<PackageProjectUrl>https://github.com/akamsteeg/Pitcher</PackageProjectUrl>
16-
<RepositoryUrl>https://github.com/akamsteeg/Pitcher.git</RepositoryUrl>
1715
<PackageTags>exception throw helper</PackageTags>
1816
<PackageLicenseUrl>https://github.com/akamsteeg/Pitcher/blob/master/LICENSE</PackageLicenseUrl>
1917
<PackageReleaseNotes>
18+
1.2.0:
19+
- [Feature] Enabled SourceLink support (#1)
2020
1.1.0:
2121
-[Fix] Removed expensive null check on arguments in Throw.This() and Throw.When()
2222
</PackageReleaseNotes>
2323

2424
<DocumentationFile>docs\Pitcher.xml</DocumentationFile>
2525

26-
26+
<!-- SourceLink -->
27+
<PublishRepositoryUrl>true</PublishRepositoryUrl>
28+
<RepositoryUrl>https://github.com/akamsteeg/Pitcher.git</RepositoryUrl>
29+
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
2730
</PropertyGroup>
2831

2932
<ItemGroup>
@@ -32,4 +35,11 @@
3235
<None Remove="docs\**" />
3336
</ItemGroup>
3437

38+
<ItemGroup>
39+
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0-beta-63127-02">
40+
<PrivateAssets>all</PrivateAssets>
41+
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
42+
</PackageReference>
43+
</ItemGroup>
44+
3545
</Project>

0 commit comments

Comments
 (0)