diff options
author | Santiago Fernandez Madero <safern@microsoft.com> | 2018-03-29 23:45:41 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-29 23:45:41 +0300 |
commit | f51945468a17eeed911ddd82da30f59dbd0c3e7c (patch) | |
tree | 8d51b48577eac20aba253ee1929d864600bdcfd1 /dir.props | |
parent | a4c601d34b5eabfc708b2e368e33d22f0360e2bf (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.props | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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> |