Skip to content

Set version when publishing netcore tool - #2910

Open
Numpsy wants to merge 1 commit into
fsprojects:masterfrom
Numpsy:users/rw/fix_version
Open

Numpsy wants to merge 1 commit into
fsprojects:masterfrom
Numpsy:users/rw/fix_version

Conversation

@Numpsy

@Numpsy Numpsy commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

Description

refs #2909

This is breaking out a change I made at #2899 (comment) to fix an failure in the macOS CI when running on .NET 10

System.IO.FileNotFoundException: Could not load file or assembly 'Fake.Runtime, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.

File name: 'Fake.Runtime, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null'
   at Program.main(String[] args)

Which seems to be related to some of the built files having a version of 1.0.0 rather than 10.0.0.
Just thinking that the change could be made separately rather than in the .NET 10 changes if the versions are wrong, and then that update will be simplified a tad.

Summary by CodeRabbit

  • Chores
    • Runtime-specific published builds now use the configured package version. This keeps the version shown for those builds aligned with the version selected for the release. No changes to end-user functionality are included in this update.

@github-actions

Copy link
Copy Markdown
Contributor

Test Results

   12 files  ±0     12 suites  ±0   33m 0s ⏱️ - 2m 30s
  469 tests ±0    468 ✅ ±0  1 💤 ±0  0 ❌ ±0 
1 341 runs  ±0  1 338 ✅ ±0  3 💤 ±0  0 ❌ ±0 

Results for commit 24e8816. ± Comparison against base commit 9a0dbd1.

@Numpsy
Numpsy marked this pull request as ready for review October 26, 2026 12:52
@coderabbitai

coderabbitai Bot commented Oct 26, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review.

Recent review info
Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 8e62e5b9-0bad-405b-ad99-8d97e5ab9442
Commits

Reviewing files that changed from the base of the PR and between 9a0dbd1 and 24e8816.

Files selected for processing: 1
  • build.fsx

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.

Walkthrough

The runtime-specific publish target now passes nugetVersion as the MSBuild Version property. It retains the setting that disables the internal binary log.

Changes: Runtime publishing

Layer / File(s) Summary
Set runtime publish version
build.fsx
The runtime-specific publish configuration passes nugetVersion as the MSBuild Version property and retains DisableInternalBinLog = true.

Priority: Normal

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Bug fix · Severity of issue fixed: Medium

Possibly related issues

  • Issue 2909 reports that packaged FAKE runtime binaries have version 1.0.0 instead of the expected version. This change sets the published runtime version.

Suggested reviewers: thorium

Merge Risk: Minimal · up to 24e88

The change is limited to the intended runtime publish version binding, with no identified merge-blocking risk.

Pre-merge checks: Passed 5
Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title clearly and concisely describes the main change: setting the version when publishing the .NET Core tool.
Docstring Coverage Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0 files. (1 skipped: 1 unsupported.)

Finishing Touches
🧪 Generate unit tests (beta)
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

This branch has not been deployed

No deployments
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.

2 participants