Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

Commit

Permalink
Use Full PDB format for net4* projects (#754)
Browse files Browse the repository at this point in the history
to work around an issue where Portable format is not yet supported in api
scanning tool(s).
  • Loading branch information
jeremymeng authored Jan 29, 2019
1 parent fb7bede commit 02d0303
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Directory.Build.targets
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,13 @@
</PackageReference>
</ItemGroup>

<!-- Work around an issue where portable PDB is not supported yet in Api scan tool.
This does not work in Directory.Build.props because $(TargetFramework) has not been set yet
when it is imported. -->
<PropertyGroup>
<DebugType Condition=" $(TargetFramework.StartsWith('net4')) ">Full</DebugType>
</PropertyGroup>

<!-- In .NET Core SDK 1.0-rc3, all *.cs files are implicitly added for compiled. This includes the test files we embed as resources.
We explicitly remove them here so that they are not compiled.
BUG: https://github.com/dotnet/sdk/issues/977 -->
Expand Down

0 comments on commit 02d0303

Please sign in to comment.