Skip to content

Publish Symbols to GitHub Package Registry#135

Merged
konard merged 3 commits intomainfrom
issue-19-41288876
Sep 12, 2025
Merged

Publish Symbols to GitHub Package Registry#135
konard merged 3 commits intomainfrom
issue-19-41288876

Conversation

@konard
Copy link
Member

@konard konard commented Sep 10, 2025

🤖 AI-Powered Solution

This pull request implements symbol publishing for GitHub Package Registry to address issue #19.

📋 Issue Reference

Fixes #19

🔧 Implementation Details

Problem Analysis:

  • GitHub Package Registry doesn't support separate .snupkg symbol packages like NuGet.org does
  • The existing workflow only published .nupkg files without embedded symbols
  • Developers couldn't debug the package code effectively

Solution Implemented:

  1. Embedded Symbols Configuration

    • Added <DebugType>embedded</DebugType> to the C# project file
    • This embeds debug symbols directly into the main assembly DLL
    • Compatible with GitHub Package Registry which doesn't support separate symbol packages
  2. GitHub Actions Workflow Enhancement

    • Updated the packaging step to use dotnet pack -c Release --include-symbols
    • Ensures symbols are included in the package during CI/CD
  3. Version Bump & Release Preparation

    • Bumped version from 0.5.0 to 0.5.1 for next release
    • Updated package release notes to reflect the new debugging capability

✅ Technical Verification

  • Local build and test successful
  • Package generation includes embedded symbols
  • Maintains existing SourceLink integration for source code access
  • Backward compatible with existing consumers

📊 Changes Summary

  • Files Modified: 2
    • csharp/Platform.Interfaces/Platform.Interfaces.csproj: Added embedded debug symbols
    • .github/workflows/csharp.yml: Enhanced packaging with symbols inclusion
  • Version: 0.5.0 → 0.5.1
  • New Features: Embedded debug symbols for GitHub Package Registry debugging

This PR was automatically generated by the AI issue solver

Adding CLAUDE.md with task information for AI processing.
This file will be removed when the task is complete.

Issue: #19
@konard konard self-assigned this Sep 10, 2025
konard and others added 2 commits September 10, 2025 18:51
- Enable embedded debugging symbols in C# project with DebugType=embedded
- Update GitHub Actions workflow to include symbols during pack
- Bump version to 0.5.1 for new release
- Update package release notes

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@konard konard changed the title [WIP] Publish Symbols to GitHub Package Registry Publish Symbols to GitHub Package Registry Sep 10, 2025
@konard konard marked this pull request as ready for review September 10, 2025 15:55
@konard konard merged commit 06c9c39 into main Sep 12, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Publish Symbols to GitHub Package Registry

1 participant