Skip to content

Commit

Permalink
include symbols in nuget package
Browse files Browse the repository at this point in the history
  • Loading branch information
scott-xu committed Sep 10, 2017
1 parent aa58b6c commit 8bf6611
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 1 deletion.
1 change: 0 additions & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ build:
verbosity: normal
parallel: true
publish_nuget: true
publish_nuget_symbols: true

deploy:
provider: NuGet
Expand Down
8 changes: 8 additions & 0 deletions src/Ninject/Ninject.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,14 @@
<DebugSymbols>True</DebugSymbols>
</PropertyGroup>

<ItemGroup>
<!-- Include symbols in the package -->
<Content Include="$(OutputPath)/**/$(AssemblyName).pdb">
<Pack>true</Pack>
<PackagePath>$(BuildOutputTargetFolder)/%(RecursiveDir)$(AssemblyName).pdb</PackagePath>
</Content>
</ItemGroup>

<ItemGroup>
<AdditionalFiles Include="stylecop.json" />
</ItemGroup>
Expand Down
1 change: 1 addition & 0 deletions src/TestAssembly/TestAssembly.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
<GenerateAssemblyProductAttribute>false</GenerateAssemblyProductAttribute>
<GenerateAssemblyCopyrightAttribute>false</GenerateAssemblyCopyrightAttribute>
<GenerateAssemblyVersionAttribute>false</GenerateAssemblyVersionAttribute>
<IsPackable>false</IsPackable>
</PropertyGroup>

<ItemGroup Condition=" '$(TargetFramework)' == 'net45' ">
Expand Down
1 change: 1 addition & 0 deletions src/TestModules/TestModules.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
<GenerateAssemblyProductAttribute>false</GenerateAssemblyProductAttribute>
<GenerateAssemblyCopyrightAttribute>false</GenerateAssemblyCopyrightAttribute>
<GenerateAssemblyVersionAttribute>false</GenerateAssemblyVersionAttribute>
<IsPackable>false</IsPackable>
</PropertyGroup>

<ItemGroup>
Expand Down

0 comments on commit 8bf6611

Please sign in to comment.