Skip to content

Remove .NET nanoFramework support - #1676

Merged
angularsen merged 1 commit into
masterfrom
agl-claude/determined-cray-5718e4
Jun 11, 2026
Merged

Remove .NET nanoFramework support#1676
angularsen merged 1 commit into
masterfrom
agl-claude/determined-cray-5718e4

Conversation

@angularsen

@angularsenangularsen commented Jun 11, 2026

Copy link
Copy Markdown
Owner

Closes#1647

nanoFramework support has moved to its own repository, nanoframework/nanoFramework.UnitsNet, which now publishes its own NuGet packages. This removes the in-repo nanoFramework stack.

Changes

  • Projects: removed the entire UnitsNet.NanoFramework/ directory (projects + generated code).
  • Code generation: removed CodeGen/Generators/NanoFrameworkGen/, NanoFrameworkGenerator.cs, NanoFrameworkVersions.cs, and the skipNanoFramework/updateNanoFrameworkDependencies wiring in Program.cs.
  • Build scripts: removed nanoFramework build/pack/version logic from Build/build.ps1, build-functions.psm1, init.ps1, set-version-UnitsNet.ps1, and deleted build-pack-nano-nugets.psm1. init.ps1 no longer downloads NuGet.exe or the VS nanoFramework extension.
  • CI: dropped the nanoFramework setup steps and -IncludeNanoFramework flag from GitHub Actions (ci.yml, pr.yml) and Azure Pipelines.
  • Misc: deleted redundant build-all-targets.bat (now identical to build.bat), upgrade-nanoframework.sh, Docs/nanoframework.md; cleaned up README.md, AGENTS.md, Docs/README.md, cSpell.json, and the ReSharper dictionary.

External-port references (the ports table and dependent-projects list in README) are intentionally kept, since the package still exists in its new home.

Verification

  • dotnet build CodeGen → 0 warnings, 0 errors
  • dotnet run --project CodeGen → regenerates cleanly, no nanoFramework output
  • dotnet build UnitsNet.slnx -c Release → 0 errors (only pre-existing obsolete-API benchmark warnings)

🤖 Generated with Claude Code

nanoFramework has moved to its own repo, nanoframework/nanoFramework.UnitsNet,
which now publishes its own packages. Per #1647, drop the in-repo nanoFramework
projects, code generation, build/CI steps and docs.
- Remove UnitsNet.NanoFramework projects and generated code
- Remove CodeGen NanoFrameworkGen generators and Program.cs wiring
- Remove nanoFramework build/pack/version logic from Build scripts
- Drop nanoFramework setup steps and -IncludeNanoFramework from GitHub Actions
and Azure Pipelines
- Delete redundant build-all-targets.bat (now identical to build.bat)
- Clean up docs, cSpell and ReSharper dictionary references
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@codecov

codecovBot commented Jun 11, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96%. Comparing base (70715e7) to head (53ecf9e).

Additional details and impacted files
@@ Coverage Diff @@## master #1676 +/- ##
======================================
Coverage 96% 96% ======================================
Files 450 450 Lines 29177 29177 ======================================
Hits 28136 28136 Misses 1041 1041 

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@angularsen
angularsen merged commit 700617d into masterJun 11, 2026
5 of 6 checks passed
@angularsen
angularsen deleted the agl-claude/determined-cray-5718e4 branch June 11, 2026 08:58
@angularsenangularsen mentioned this pull request Jun 11, 2026
28 tasks
Sign up for freeto 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.

Deprecate nanoFramework nugets, remove code

1 participant

@angularsen