Skip to content

Commit

Permalink
Include symbol files from Vezel.Cathode.Native in Debug builds/packages.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexrp committed Jan 7, 2024
1 parent 446489a commit a7e8535
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/core/core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,11 @@ This package provides the core terminal API.</PackageDescription>
Link="runtimes/%(RuntimeIdentifier)/native/%(Filename)%(Extension)"
CopyToOutputDirectory="PreserveNewest"
PackagePath="runtimes/%(RuntimeIdentifier)/native" />
<_NativeLibrarySymbols Include="@(_NativeLibrary->'%(Symbols)')" />
<Content Include="@(_NativeLibrarySymbols)"
Link="runtimes/%(RuntimeIdentifier)/native/%(Filename)%(Extension)"
CopyToOutputDirectory="PreserveNewest"
PackagePath="runtimes/%(RuntimeIdentifier)/native" />
</ItemGroup>
</Target>
</Project>
1 change: 1 addition & 0 deletions src/native/native.cproj
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
Returns="@(_NativeLibrary)">
<ItemGroup>
<_NativeLibrary Include="$(TargetPath)"
Symbols="@(_DebugSymbolsOutputPath)"
RuntimeIdentifier="$(RuntimeIdentifier)" />
</ItemGroup>
</Target>
Expand Down

0 comments on commit a7e8535

Please sign in to comment.