Disable sourcelink on mono.

See https://github.com/dotnet/sourcelink/issues/155
This commit is contained in:
Shane Woolcock
2018-12-05 20:09:08 +10:30
parent 052ab9e514
commit f7546fcdce
2 changed files with 5 additions and 1 deletions

View File

@@ -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>

View File

@@ -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>