Skip to content

Commit

Permalink
Use Microsoft.SourceLink.GitHub
Browse files Browse the repository at this point in the history
Fix #6398 fix #3462
  • Loading branch information
maliming committed Dec 1, 2020
1 parent 1b36843 commit 2beb90b
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 46 deletions.
9 changes: 8 additions & 1 deletion common.props
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,15 @@
<RepositoryType>git</RepositoryType>
<RepositoryUrl>https://github.com/abpframework/abp/</RepositoryUrl>
<GenerateDocumentationFile>true</GenerateDocumentationFile>

<!-- https://github.com/dotnet/sourcelink -->
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="SourceLink.Create.CommandLine" Version="2.8.3" PrivateAssets="All" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.0-beta-20204-02">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
</ItemGroup>
</Project>
13 changes: 0 additions & 13 deletions modules/cms-kit/common.props

This file was deleted.

16 changes: 0 additions & 16 deletions modules/identityserver/common.props

This file was deleted.

5 changes: 0 additions & 5 deletions templates/console/common.props
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,4 @@
<Version>0.1.0</Version>
<NoWarn>$(NoWarn);CS1591;CS0436</NoWarn>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="SourceLink.Create.CommandLine" Version="2.8.3" PrivateAssets="All" />
</ItemGroup>

</Project>
7 changes: 1 addition & 6 deletions templates/module/aspnet-core/common.props
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,6 @@
<LangVersion>latest</LangVersion>
<Version>0.1.0</Version>
<NoWarn>$(NoWarn);CS1591;CS0436</NoWarn>
<AbpProjectType>module</AbpProjectType>
<AbpProjectType>module</AbpProjectType>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="SourceLink.Create.CommandLine" Version="2.8.3" PrivateAssets="All" />
</ItemGroup>

</Project>
5 changes: 0 additions & 5 deletions templates/wpf/common.props
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,4 @@
<Version>0.1.0</Version>
<NoWarn>$(NoWarn);CS1591;CS0436</NoWarn>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="SourceLink.Create.CommandLine" Version="2.8.3" PrivateAssets="All" />
</ItemGroup>

</Project>

0 comments on commit 2beb90b

Please sign in to comment.