Skip to content

Commit 43307ea

Browse files
committed
- Removed addition of PDBs from <AllowedOutputExtensionsInPackageBuildOutputFolder>.
1 parent b613556 commit 43307ea

File tree

3 files changed

+0
-24
lines changed

3 files changed

+0
-24
lines changed

src/Directory.Build.props

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -20,22 +20,6 @@
2020
> msbuild -p:configuration=Release
2121
-->
2222
<ReferenceType Condition="$(ReferenceType) == ''">Project</ReferenceType>
23-
24-
<!--
25-
We embed debug symbols in some of our application (i.e. non-symbol) NuGet
26-
packages.
27-
28-
TODO: Why are we doing this?
29-
30-
Capture the default list of extensions so the projects that _don't_ want
31-
this behaviour can revert it.
32-
-->
33-
<OriginalAllowedOutputExtensions>$(AllowedOutputExtensionsInPackageBuildOutputFolder)</OriginalAllowedOutputExtensions>
34-
<!--
35-
And now append the '.pdb' extension. This property is used by NuGet to
36-
decide which types of files will appear in the application package.
37-
-->
38-
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
3923
</PropertyGroup>
4024
<PropertyGroup Condition="$(BuildForRelease) == 'true'">
4125
<TargetFrameworkMonikerAssemblyAttributesPath>$([System.IO.Path]::Combine('$(IntermediateOutputPath)','$(TargetFrameworkMoniker).AssemblyAttributes$(DefaultLanguageSourceExtension)'))</TargetFrameworkMonikerAssemblyAttributesPath>

src/Microsoft.Data.SqlClient.Extensions/Abstractions/src/Abstractions.csproj

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -57,13 +57,6 @@
5757
<IncludeSymbols>true</IncludeSymbols>
5858
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
5959

60-
<!--
61-
The parent Directory.Build.props file unilaterally adds '.pdb' to the
62-
file types that are included in application packages. We don't want this
63-
behaviour, so we must reset this NuGet property to its original value.
64-
-->
65-
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(OriginalAllowedOutputExtensions)</AllowedOutputExtensionsInPackageBuildOutputFolder>
66-
6760
<Authors>Microsoft Corporation</Authors>
6861
<Company>Microsoft Corporation</Company>
6962
<Description>Microsoft.Data.SqlClient Extensions Abstractions</Description>

src/Microsoft.Data.SqlClient/add-ons/Directory.Build.props

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
<TargetsWindows Condition="'$(OSGroup)'=='Windows_NT'">true</TargetsWindows>
1010
<TargetsUnix Condition="'$(OSGroup)'=='Unix'">true</TargetsUnix>
1111
<ReferenceType Condition="'$(ReferenceType)'==''">Project</ReferenceType>
12-
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
1312
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
1413
<TargetFrameworkMonikerAssemblyAttributesPath>$([System.IO.Path]::Combine('$(IntermediateOutputPath)','$(TargetFramework)','$(TargetFrameworkMoniker).AssemblyAttributes$(DefaultLanguageSourceExtension)'))</TargetFrameworkMonikerAssemblyAttributesPath>
1514
</PropertyGroup>

0 commit comments

Comments
 (0)