Skip to content

Commit cc89fc5

Browse files
committed
Don't set IncludeSymbols=true on ImageResizer.WebConfig in the first place
1 parent 1f96c71 commit cc89fc5

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

Directory.Build.props

-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@
1616
<RepositoryType>git</RepositoryType>
1717
<EmbedUntrackedSources>true</EmbedUntrackedSources>
1818
<PublishRepositoryUrl>true</PublishRepositoryUrl>
19-
<IncludeSymbols>true</IncludeSymbols>
20-
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
2119

2220
<Version Condition="'$(Version)' == ''">$(TAGGED_VERSION)</Version>
2321
<VersionPrefix>0.1.0</VersionPrefix>

nuget/NugetPackages.targets

+7-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,13 @@
66
<ItemGroup>
77
<None Include="$(SolutionDir)\README.md" Pack="true" PackagePath="\"/>
88
</ItemGroup>
9-
9+
10+
11+
<PropertyGroup Condition="!$(MSBuildProjectName.EndsWith('WebConfig'))">
12+
<IncludeSymbols>true</IncludeSymbols>
13+
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
14+
</PropertyGroup>
15+
1016
<ItemGroup Condition="!$(MSBuildProjectName.EndsWith('WebConfig'))">
1117
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All"/>
1218
</ItemGroup>

0 commit comments

Comments
 (0)