Skip to content

Commit 08176f1

Browse files
committed
Add symbol package with source code build.
1 parent 9e6c43c commit 08176f1

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

MsgPack.nuspec

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,5 +86,7 @@ This package provides MessagePack serialization/deserialization APIs. This pacak
8686
<files>
8787
<file src="bin\**\*.dll" target="lib" exclude="**\System.*;**\Microsoft.*;**\Mono.*" />
8888
<file src="bin\**\*.XML" target="lib" exclude="**\System.*;**\Microsoft.*;**\Mono.*" />
89+
<file src="bin\**\*.pdb" target="lib" exclude="**\System.*;**\Microsoft.*;**\Mono.*" />
90+
<file src="src\**\*.cs" target="src" />
8991
</files>
9092
</package>

build/Build.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ if ( $LastExitCode -ne 0 )
147147

148148
if ( $buildConfig -eq 'Release' )
149149
{
150-
& $msbuild ../src/MsgPack/MsgPack.csproj /t:pack /p:Configuration=$buildConfig /p:NuspecProperties=version=$env:PackageVersion
150+
& $msbuild ../src/MsgPack/MsgPack.csproj /t:pack /p:Configuration=$buildConfig /p:IncludeSymbols=true /p:IncludeSource=true /p:NuspecProperties=version=$env:PackageVersion
151151

152152
Move-Item ../bin/*.nupkg ../dist/
153153
Copy-Item ../bin/* ./MsgPack-CLI/ -Recurse -Exclude @("*.vshost.*")

0 commit comments

Comments
 (0)