Skip to content

Commit

Permalink
Do not copy PDBs into the nupkg (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
adityapatwardhan authored Sep 4, 2019
1 parent d4acbd5 commit 8df34ae
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions build.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -690,10 +690,10 @@ function PlaceWindowsNativeBinaries
$RuntimePathARM = New-Item -ItemType Directory -Path (Join-Path $PackageRoot -ChildPath 'runtimes/win-arm/native') -Force
$RuntimePathARM64 = New-Item -ItemType Directory -Path (Join-Path $PackageRoot -ChildPath 'runtimes/win-arm64/native') -Force

Copy-Item "$BinFolderX64\*" -Destination $RuntimePathX64 -Verbose
Copy-Item "$BinFolderX86\*" -Destination $RuntimePathX86 -Verbose
Copy-Item "$BinFolderARM\*" -Destination $RuntimePathARM -Verbose
Copy-Item "$BinFolderARM64\*" -Destination $RuntimePathARM64 -Verbose
Copy-Item "$BinFolderX64\*" -Destination $RuntimePathX64 -Verbose -Exclude '*.pdb'
Copy-Item "$BinFolderX86\*" -Destination $RuntimePathX86 -Verbose -Exclude '*.pdb'
Copy-Item "$BinFolderARM\*" -Destination $RuntimePathARM -Verbose -Exclude '*.pdb'
Copy-Item "$BinFolderARM64\*" -Destination $RuntimePathARM64 -Verbose -Exclude '*.pdb'
}

<#
Expand Down

0 comments on commit 8df34ae

Please sign in to comment.