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 20
20
> msbuild -p:configuration=Release
21
21
-->
22
22
<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
+ -->
23
38
<AllowedOutputExtensionsInPackageBuildOutputFolder >$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder >
24
39
</PropertyGroup >
25
40
<PropertyGroup Condition =" $(BuildForRelease) == 'true'" >
Original file line number Diff line number Diff line change 74
74
<IncludeSymbols >true</IncludeSymbols >
75
75
<SymbolPackageFormat >snupkg</SymbolPackageFormat >
76
76
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
+
77
84
<Authors >Microsoft Corporation</Authors >
78
85
<Company >Microsoft Corporation</Company >
79
86
<Description >Microsoft.Data.SqlClient Extensions</Description >
You can’t perform that action at this time.
0 commit comments