diff options
author | Sven Boemer <sbomer@gmail.com> | 2020-03-26 23:40:45 +0300 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2020-03-27 10:39:35 +0300 |
commit | 42b986633a3b78ea547a3f4ac36c259ff05566c2 (patch) | |
tree | 51a97802790b48dca074dfb59fbbbc5e2c76434e /Directory.Build.props | |
parent | 18cc017cc914a2c9406178eaf7cfc0e063b77481 (diff) |
Fix issue with packaging logic expecting symbols
Diffstat (limited to 'Directory.Build.props')
-rw-r--r-- | Directory.Build.props | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Directory.Build.props b/Directory.Build.props index f85d60a6c..407631590 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -8,9 +8,11 @@ </PropertyGroup> <PropertyGroup Condition=" '$(IsReferenceAssembly)' == 'true' "> <ProduceOnlyReferenceAssembly>true</ProduceOnlyReferenceAssembly> - <!-- used by Arcade to compute OutputPath, IntermediateOutputPath, etc. early in the import chain. --> + <!-- 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. --> + <!-- Don't try to publish PDBs for ref assemblies that have none. --> <PublishWindowsPdb>false</PublishWindowsPdb> <RunApiCompat>false</RunApiCompat> </PropertyGroup> |