File tree Expand file tree Collapse file tree 2 files changed +22
-0
lines changed
Microsoft.Data.SqlClient.Extensions/Extensions/src Expand file tree Collapse file tree 2 files changed +22
-0
lines changed Original file line number Diff line number Diff line change 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+ -->
2338 <AllowedOutputExtensionsInPackageBuildOutputFolder >$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder >
2439 </PropertyGroup >
2540 <PropertyGroup Condition =" $(BuildForRelease) == 'true'" >
Original file line number Diff line number Diff line change 7474 <IncludeSymbols >true</IncludeSymbols >
7575 <SymbolPackageFormat >snupkg</SymbolPackageFormat >
7676
77+ <!--
78+ The parent Directory.Build.props file unilaterally adds '.pdb' to the
79+ file types that are included in application packages. We don't want this
80+ behaviour, so we must reset this NuGet property to its original value.
81+ -->
82+ <AllowedOutputExtensionsInPackageBuildOutputFolder >$(OriginalAllowedOutputExtensions)</AllowedOutputExtensionsInPackageBuildOutputFolder >
83+
7784 <Authors >Microsoft Corporation</Authors >
7885 <Company >Microsoft Corporation</Company >
7986 <Description >Microsoft.Data.SqlClient Extensions</Description >
You can’t perform that action at this time.
0 commit comments