Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit db30b87

Browse files
committed
enable source link and symbol package generation during build
1 parent 64a6909 commit db30b87

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/runtime/Python.Runtime.15.csproj

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@
1818
<PackageLicenseUrl>https://github.com/pythonnet/pythonnet/blob/master/LICENSE</PackageLicenseUrl>
1919
<RepositoryUrl>https://github.com/pythonnet/pythonnet</RepositoryUrl>
2020
<RepositoryType>git</RepositoryType>
21+
<!-- The following is recommended for public projects -->
22+
<PublishRepositoryUrl>true</PublishRepositoryUrl>
23+
<DebugSymbols>true</DebugSymbols>
24+
<IncludeSymbols>true</IncludeSymbols>
25+
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
2126
<!--<PackageReleaseNotes>https://github.com/pythonnet/pythonnet/releases/tag/v2.4.0</PackageReleaseNotes>-->
2227
<PackageTags>python interop dynamic dlr Mono pinvoke</PackageTags>
2328
<PackageIconUrl>https://raw.githubusercontent.com/pythonnet/pythonnet/master/src/console/python-clear.ico</PackageIconUrl>
@@ -134,6 +139,8 @@
134139
<PrivateAssets>all</PrivateAssets>
135140
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
136141
</PackageReference>
142+
<!-- The following is recommended for public projects -->
143+
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All" />
137144
</ItemGroup>
138145

139146
<Import Project="Sdk.targets" Sdk="Microsoft.NET.Sdk" />

0 commit comments

Comments
 (0)