Skip to content

C# Clean Up#5500

Draft
lisandroct wants to merge 132 commits into
masterfrom
lisandro/net10-cleanup
Draft

C# Clean Up#5500
lisandroct wants to merge 132 commits into
masterfrom
lisandro/net10-cleanup

Conversation

@lisandroct

@lisandroct lisandroct commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

NOTE: Wait for #4915 to be merged.

Description of Changes

Just clean up to remove style and syntax warnings.

API and ABI breaking changes

None.

Expected complexity level and risk

  1. Extremely trivial. All syntax changes.

Testing

  • crates/bindings-csharp builds and tests pass

JasonAtClockwork and others added 30 commits April 21, 2026 16:34
1) Created exception to `check_global_json_policy` to allow for .NET 8 templates to be generated.
2) Removed .NET 10 DLLs from SDK to prevent Unity issue.
3) Updated NativeAOT smoketest test include `packageSourceMapping` in `NuGet.Config`.
- Add --dotnet-version flag to build/publish/init commands for explicit .NET version control
- Fix smoketests to use local SpacetimeDB.Runtime/BSATN.Runtime packages (not public NuGet)
- Fix CLI binary path detection for debug vs release builds
- Add NativeAOT-LLVM output paths (native/ subdirectory) to csharp.rs
- Force .NET 8 for C# templates in template tests to match template TFM
@lisandroct lisandroct marked this pull request as draft July 8, 2026 18:56
where DbConnection : DbConnectionBase<DbConnection, Tables, Reducer>, new()
where Tables : RemoteTablesBase
{
internal const bool IsTesting = false;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This breaks dotnet test for sdks\csharp\tests~ due to the SnapshotTests.cs sets IsTesting = true.

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.

5 participants