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 | |
parent | 18cc017cc914a2c9406178eaf7cfc0e063b77481 (diff) |
Fix issue with packaging logic expecting symbols
-rw-r--r-- | Directory.Build.props | 6 | ||||
-rw-r--r-- | src/linker/ref/Mono.Linker.csproj | 2 |
2 files changed, 4 insertions, 4 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> diff --git a/src/linker/ref/Mono.Linker.csproj b/src/linker/ref/Mono.Linker.csproj index e456bbd7b..af5ef3aab 100644 --- a/src/linker/ref/Mono.Linker.csproj +++ b/src/linker/ref/Mono.Linker.csproj @@ -10,8 +10,6 @@ <!-- Nuget issues a warning about missing <reference> items in the generated nuspec, used for packages.config which we do not support. --> <NoWarn>$(NoWarn);NU5131</NoWarn> - <!-- We need to create a package that includes the build output of the cecil projectreference below. --> - <IncludeBuildOutput>true</IncludeBuildOutput> <BuildOutputTargetFolder>ref</BuildOutputTargetFolder> </PropertyGroup> |