Skip to content

Upgrade Orleans v3 documentation snippets from net6.0 to net10.0#51529

Merged
meaghanlewis merged 2 commits intomainfrom
copilot/upgrade-net6-to-net8
Feb 6, 2026
Merged

Upgrade Orleans v3 documentation snippets from net6.0 to net10.0#51529
meaghanlewis merged 2 commits intomainfrom
copilot/upgrade-net6-to-net8

Conversation

Copy link
Contributor

Copilot AI commented Feb 5, 2026

Nine Orleans 3.x documentation snippet projects were targeting net6.0, which reached end-of-life in November 2024. Updated all to net10.0 per agent instructions.

Changes

  • Updated TargetFramework property from net6.0 to net10.0 in 9 .csproj files across:

    • docs/orleans/grains/snippets-v3/ (code-generation, grainservices)
    • docs/orleans/host/configuration-guide/snippets-v3/ (client-config, local-dev, server-config)
    • docs/orleans/host/snippets-v3/ (client)
    • docs/orleans/snippets-v3/ (helloworld)
    • docs/orleans/streaming/snippets-v3/ (streams-quickstart)
    • docs/orleans/tutorials-and-samples/snippets-v3/ (custom-storage)
  • Added explicit TargetFramework property to helloworld.csproj (was previously implicit)

All Orleans package references remain at version 3.7.2. Validation confirmed all 37 Orleans snippet projects build successfully.

Original prompt

This section details on the original issue you should resolve

<issue_title>Upgrade from net6.0 to LTS (or STS) version</issue_title>
<issue_description>The following project file(s) target a .NET version that's no longer supported.
This is an auto-generated issue, detailed and discussed in dotnet/docs#22271.

Target version End of life Release notes Nearest LTS TFM version
net6.0 November, 12 2024 net6.0 release notes net8.0

Consider upgrading projects to either the Standard Term Support (STS) or Long Term Support (LTS) versions.

If any of these projects listed in this issue are intentionally targeting an unsupported version,
you can optionally configure to ignore these results in future automation executions.
Create a (or update the) dotnet-versionsweeper.json file at the root of the repository and
add an ignore entry following the
globbing patterns detailed here.

{
    "ignore": [
        "**/path/to/example.csproj"
    ]
}

Associated WorkItem - 550650</issue_description>

<agent_instructions>Update from net6.0 to net10.0</agent_instructions>

Comments on the Issue (you are @copilot in this section)


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Co-authored-by: meaghanlewis <10103121+meaghanlewis@users.noreply.github.com>
Copilot AI changed the title [WIP] Upgrade project from net6.0 to net8.0 LTS version Upgrade Orleans v3 documentation snippets from net6.0 to net10.0 Feb 5, 2026
Copilot AI requested a review from meaghanlewis February 5, 2026 17:51
@meaghanlewis meaghanlewis marked this pull request as ready for review February 5, 2026 18:28
Copilot AI review requested due to automatic review settings February 5, 2026 18:28
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR attempts to upgrade Orleans v3 documentation snippet projects from net6.0 (which reached end-of-life in November 2024) to a supported .NET version. However, there is a critical issue: the PR updates all projects to net10.0, which does not exist. The linked issue #51418 specified net8.0 as the target LTS version, but the agent instructions incorrectly specified net10.0.

Changes:

  • Updated TargetFramework from net6.0 to net10.0 in 9 .csproj files
  • Added explicit TargetFramework property to helloworld.csproj

Reviewed changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
docs/orleans/tutorials-and-samples/snippets-v3/custom-storage/custom-storage.csproj Updated TargetFramework to nonexistent net10.0 (should be net8.0)
docs/orleans/streaming/snippets-v3/streams-quickstart/streams-quickstart.csproj Updated TargetFramework to nonexistent net10.0 (should be net8.0)
docs/orleans/snippets-v3/helloworld/helloworld.csproj Added explicit TargetFramework set to nonexistent net10.0 (should be net8.0)
docs/orleans/host/snippets-v3/client/client.csproj Updated TargetFramework to nonexistent net10.0 (should be net8.0)
docs/orleans/host/configuration-guide/snippets-v3/server-config/server-config.csproj Updated TargetFramework to nonexistent net10.0 (should be net8.0)
docs/orleans/host/configuration-guide/snippets-v3/local-dev/local-dev.csproj Updated TargetFramework to nonexistent net10.0 (should be net8.0)
docs/orleans/host/configuration-guide/snippets-v3/client-config/client-config.csproj Updated TargetFramework to nonexistent net10.0 (should be net8.0)
docs/orleans/grains/snippets-v3/grainservices/grainservices.csproj Updated TargetFramework to nonexistent net10.0 (should be net8.0)
docs/orleans/grains/snippets-v3/code-generation/code-generation.csproj Updated TargetFramework to nonexistent net10.0 (should be net8.0)

@meaghanlewis meaghanlewis requested a review from gewarren February 5, 2026 18:34
@meaghanlewis meaghanlewis merged commit bea07f4 into main Feb 6, 2026
19 checks passed
@meaghanlewis meaghanlewis deleted the copilot/upgrade-net6-to-net8 branch February 6, 2026 16:30
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.

Upgrade from net6.0 to LTS (or STS) version

4 participants