Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/linker.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Boemer <sbomer@gmail.com>2020-03-27 19:39:58 +0300
committerMarek Safar <marek.safar@gmail.com>2020-03-27 20:25:19 +0300
commit0bf5f0fefceff04470bd3d6919504d39af82a21f (patch)
treecd74d1f4c74fea8c50241a628b7583e1d87abd9d /Directory.Build.props
parent20061dafa2f9cb3a11d7e959d41568611d5acff1 (diff)
Fix ref assembly symbols issue (try 2)
https://github.com/mono/linker/pull/1029 didn't fix the issue because Arcade sets its own defaults that override those in Directory.Build.props. This moves the import so that our setting wins. Validated by doing a local build, setting OfficialBuildId manually. I did the same validation in the last change, but maybe I was working with a dirty build that somehow had a pdb. I think this should actually fix it.
Diffstat (limited to 'Directory.Build.props')
-rw-r--r--Directory.Build.props5
1 files changed, 3 insertions, 2 deletions
diff --git a/Directory.Build.props b/Directory.Build.props
index 407631590..655264983 100644
--- a/Directory.Build.props
+++ b/Directory.Build.props
@@ -8,8 +8,6 @@
</PropertyGroup>
<PropertyGroup Condition=" '$(IsReferenceAssembly)' == 'true' ">
<ProduceOnlyReferenceAssembly>true</ProduceOnlyReferenceAssembly>
- <!-- No symbols are produced for ref assemblies, but some parts of the SDK still expect pdbs, so we explicitly tell it there are none. -->
- <DebugType>none</DebugType>
<!-- Used by Arcade to compute OutputPath, IntermediateOutputPath, etc. early in the import chain. -->
<OutDirName>$(MSBuildProjectName)/ref</OutDirName>
<!-- Don't try to publish PDBs for ref assemblies that have none. -->
@@ -27,6 +25,9 @@
<!-- Set this to false to build against the submodule. Convenient for experimenting locally. -->
<UseCecilPackage Condition="'$(MonoBuild)' != '' And '$(UseCecilPackage)' == ''">false</UseCecilPackage>
<UseCecilPackage Condition="'$(UseCecilPackage)' == ''">true</UseCecilPackage>
+ <!-- No symbols are produced for ref assemblies, but some parts of the SDK still expect pdbs, so we explicitly tell it there are none. -->
+ <!-- Must be set after importing Arcade to override its defaults. -->
+ <DebugType Condition=" '$(IsReferenceAssembly)' == 'true' ">none</DebugType>
</PropertyGroup>
</Project>