Skip to content

Commit

Permalink
Merge pull request #2005 from swoolcock/disable_sourcelink_on_mono
Browse files Browse the repository at this point in the history
Disable sourcelink on mono
  • Loading branch information
peppy committed Dec 5, 2018
2 parents 052ab9e + f7546fc commit 7c2da27
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,8 @@
<Company>ppy Pty Ltd</Company>
<Copyright>ppy Pty Ltd 2007-2018</Copyright>
</PropertyGroup>
<PropertyGroup Label="Sourcelink3">
<EnableSourceLink Condition=" '$(OS)' != 'Windows_NT' AND '$(MSBuildRuntimeType)' != 'Core' ">false</EnableSourceLink>
<EnableSourceControlManagerQueries>$(EnableSourceLink)</EnableSourceControlManagerQueries>
</PropertyGroup>
</Project>
2 changes: 1 addition & 1 deletion osu.Framework/osu.Framework.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<copyright>Copyright (c) 2007-2018 ppy Pty Ltd contact@ppy.sh</copyright>
<PackageTags>osu game framework</PackageTags>
</PropertyGroup>
<PropertyGroup Label="Sourcelink3">
<PropertyGroup Label="Sourcelink3" Condition=" '($EnableSourceLink)' == 'true' ">
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
</PropertyGroup>
Expand Down

0 comments on commit 7c2da27

Please sign in to comment.