Make portable PDBs on Unix instead of no symbols at all.
authorEric Erhardt <eric.erhardt@microsoft.com>
Tue, 14 Mar 2017 15:34:08 +0000 (10:34 -0500)
committerEric Erhardt <eric.erhardt@microsoft.com>
Tue, 14 Mar 2017 15:34:08 +0000 (10:34 -0500)
Commit migrated from https://github.com/dotnet/coreclr/commit/6fe59540e65d0fd7a1577dba1a1959cd2e81d9e0

src/coreclr/src/ToolBox/SOS/NETCore/SOS.NETCore.csproj
src/coreclr/src/mscorlib/System.Private.CoreLib.csproj
src/coreclr/src/mscorlib/facade/mscorlib.csproj
src/coreclr/src/mscorlib/ref/mscorlib.csproj

index 12c63d2..440cff5 100644 (file)
@@ -32,8 +32,7 @@
   </PropertyGroup>
 
   <PropertyGroup Condition="'$(OsEnvironment)' == 'Unix'">
-    <DebugSymbols>false</DebugSymbols>
-    <DebugType>none</DebugType>
+    <DebugType>portable</DebugType>
   </PropertyGroup>
 
   <ItemGroup>
@@ -54,7 +53,6 @@
     </Copy>
 
     <Copy 
-      Condition="'$(OsEnvironment)' != 'Unix'"
       SourceFiles="$(OutputPath)$(AssemblyName).pdb"
       DestinationFolder="$(BinDir)\PDB"
       SkipUnchangedFiles="false"
index 8789ca8..d043699 100644 (file)
     <DebugType>pdbOnly</DebugType>
     <DefineConstants>TRACE;$(DefineConstants)</DefineConstants>
   </PropertyGroup>
-  <!-- Roslyn does not support writing PDBs on Unix -->
+  <!-- Make portable PDBs on Unix -->
   <PropertyGroup Condition="'$(OsEnvironment)' == 'Unix'">
-    <DebugSymbols>false</DebugSymbols>
-    <DebugType>none</DebugType>
+    <DebugType>portable</DebugType>
   </PropertyGroup>
 
   <PropertyGroup Condition="'$(TargetsOSX)' == 'true'">
index 33df183..4bee2d5 100644 (file)
   <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'net462_Debug|AnyCPU'" />
   <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'net462_Release|AnyCPU'" />
 
-  <!-- Roslyn does not support writing PDBs on Unix -->
+  <!-- Make portable PDBs on Unix -->
   <PropertyGroup Condition="'$(OsEnvironment)' == 'Unix'">
-    <DebugSymbols>false</DebugSymbols>
-    <DebugType>none</DebugType>
+    <DebugType>portable</DebugType>
   </PropertyGroup>
 
   <!-- Output paths -->
index 335630e..3656f5c 100644 (file)
     <DefineConstants>$(DefineConstants);FEATURE_COREFX_GLOBALIZATION;FEATURE_COMINTEROP</DefineConstants>
   </PropertyGroup>
 
-  <!-- Roslyn does not support writing PDBs on Unix -->
+  <!-- Make portable PDBs on Unix -->
   <PropertyGroup Condition="'$(OsEnvironment)' == 'Unix'">
-    <DebugSymbols>false</DebugSymbols>
-    <DebugType>none</DebugType>
+    <DebugType>portable</DebugType>
   </PropertyGroup>
 
   <!-- Assembly attributes -->