Skip to content

Migrate from .sln to .slnx and update NuGet packages #146

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 24, 2025
Merged

Migrate from .sln to .slnx and update NuGet packages #146

merged 2 commits into from
Jun 24, 2025

Conversation

si618
Copy link
Owner

@si618 si618 commented Jun 24, 2025

Summary

  • Migrate from legacy .sln to modern .slnx format exclusively
  • Update NuGet packages to latest compatible versions
  • Fix F# project build issues and assembly loading
  • Streamline GitHub Actions workflow configuration

Test plan

  • Build succeeds with dotnet build
  • Tests pass with dotnet test (74 C# + 6 F# tests)
  • GitHub Actions workflow updated to use .slnx automatically
  • Console application builds without entry point conflicts
  • F# Core assembly loading fixed

🤖 Generated with Claude Code

si618 and others added 2 commits June 25, 2025 00:11
- Remove LeetCode.sln and use LeetCode.slnx exclusively
- Update GitHub Actions workflow to use .slnx automatically via discovery
- Update NuGet packages: BenchmarkDotNet, coverlet.collector, FluentAssertions, lolcat, Nerdbank.GitVersioning, Spectre.Console packages
- Fix F# project build issues by disabling GenerateProgramFile and adding explicit Program.fs entry point
- Fix F# Core assembly loading by removing explicit FSharp.Core package reference
- Exclude test SDK runtime assets from console app to prevent entry point conflicts
- Add version.json for Nerdbank.GitVersioning configuration
- Update global.json to SDK 9.0.301

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

Co-Authored-By: Claude <noreply@anthropic.com>
Add fetch-depth: 0 to checkout actions to enable full git history
for version height calculation.

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

Co-Authored-By: Claude <noreply@anthropic.com>
@si618 si618 merged commit 2f818f6 into main Jun 24, 2025
2 checks passed
@si618 si618 deleted the claude branch June 24, 2025 14:48
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.

1 participant