Skip to content

Commit a7e8535

Browse files
committed
Include symbol files from Vezel.Cathode.Native in Debug builds/packages.
1 parent 446489a commit a7e8535

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/core/core.csproj

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,11 @@ This package provides the core terminal API.</PackageDescription>
5252
Link="runtimes/%(RuntimeIdentifier)/native/%(Filename)%(Extension)"
5353
CopyToOutputDirectory="PreserveNewest"
5454
PackagePath="runtimes/%(RuntimeIdentifier)/native" />
55+
<_NativeLibrarySymbols Include="@(_NativeLibrary->'%(Symbols)')" />
56+
<Content Include="@(_NativeLibrarySymbols)"
57+
Link="runtimes/%(RuntimeIdentifier)/native/%(Filename)%(Extension)"
58+
CopyToOutputDirectory="PreserveNewest"
59+
PackagePath="runtimes/%(RuntimeIdentifier)/native" />
5560
</ItemGroup>
5661
</Target>
5762
</Project>

src/native/native.cproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
Returns="@(_NativeLibrary)">
3232
<ItemGroup>
3333
<_NativeLibrary Include="$(TargetPath)"
34+
Symbols="@(_DebugSymbolsOutputPath)"
3435
RuntimeIdentifier="$(RuntimeIdentifier)" />
3536
</ItemGroup>
3637
</Target>

0 commit comments

Comments
 (0)