Skip to content

Fix .NET framework version detection #4603

Closed

Description

@devlead

Currently fails with 10.0.0, which is 4 chars.
https://github.com/cake-build/cake/blob/55fab48e211fb1299a6107bc7844d6da6d12d492/src/Cake.Core/Polyfill/EnvironmentHelper.cs#L145C13-L145C101

var netCoreAppVersion = string.Concat(assemblyPath.Skip(runtimeBasePathLength).Take(3));

Activity

  1. added this to the v6.0.0 milestone on Oct 6, 2025
  2. self-assigned this
    on Oct 6, 2025
  3. added 2 commits that reference this issue on Oct 6, 2025
  4. github-actions commented on Nov 11, 2025

    @github-actions

    🎉 This issue has been resolved in version v6.0.0 🎉

    The release is available on:

    Your GitReleaseManager bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions