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

github.com/mono/corefx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSantiago Fernandez Madero <safern@microsoft.com>2018-03-29 23:45:41 +0300
committerGitHub <noreply@github.com>2018-03-29 23:45:41 +0300
commitf51945468a17eeed911ddd82da30f59dbd0c3e7c (patch)
tree8d51b48577eac20aba253ee1929d864600bdcfd1 /dir.props
parenta4c601d34b5eabfc708b2e368e33d22f0360e2bf (diff)
Produce Windows PDBs when building for netfx and in a Windows OS (#28562)
* Produce Windows PDBs when building for netfx and in a Windows OS * Use TargetGroup and RunningOnUnix instead
Diffstat (limited to 'dir.props')
-rw-r--r--dir.props2
1 files changed, 2 insertions, 0 deletions
diff --git a/dir.props b/dir.props
index e994f59dd1..78cc11d2a1 100644
--- a/dir.props
+++ b/dir.props
@@ -174,6 +174,8 @@
<!-- Set the kind of PDB to Portable and turn on SourceLink (fetching source from GitHub) -->
<PropertyGroup>
<DebugType Condition="'$(DebugType)' == ''">Portable</DebugType>
+ <!-- Empty DebugType when building for netfx and in windows so that it is set to full or pdbonly later -->
+ <DebugType Condition="'$(TargetsNetFx)' == 'true' AND '$(RunningOnUnix)' != 'true'"></DebugType>
<UseSourceLink>true</UseSourceLink>
</PropertyGroup>