GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — MessagePack.Generator RollForward to Major by neuecc · Pull Request #1445 · MessagePack-CSharp/MessagePack-CSharp

Conversation

@neuecc

@neuecc neuecc commented Jun 10, 2022

Copy link
Copy Markdown
Member

Currently, there are reports that mpc stops working after each .NET major version upgrade.
How about setting the RollForward in the CLI tool to Major to prevent this?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@neuecc
MessagePack.Generator RollForward to Major
9a3eb9c
@neuecc
neuecc requested a review from AArnott June 10, 2022 01:44
@AArnott

AArnott commented Jun 10, 2022

Copy link
Copy Markdown
Collaborator

This comes because our last stable release still targets .NET 5.0, which is no longer supported by Microsoft. We really should ship a stable release that targets a supported runtime (.NET 6.0). The develop branch already adds net6.0 support. How do you feel about us releasing 2.4 as a stable release?

We could also merge this, but I get a bit anxious about such a setting because .NET major versions include breaking changes. I'd kinda like to ship on a runtime we've tested, and have things like this prompt us to upgrade. .NET 6 will be around till Nov 2024, so adding .NET 6 support will take care of this problem for a long time.

JiriZidek reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@AArnott

AArnott commented Jun 10, 2022

Copy link
Copy Markdown
Collaborator

Also, I wonder if your change actually does anything. I just tried packing the tool with your change, and I don't see that setting anywhere in the package.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@neuecc

neuecc commented Jun 10, 2022

Copy link
Copy Markdown
Member Author

Yes, I agree with making 2.4 STABLE.

However, these problems are repeated with the release of .NET 7 and with the release of .NET 8.
In fact, we often hear reports of mpc not working in .NET 6.

It seems that there are not a few instances of encountering such problems and setting Major.
fixie/fixie#246
microsoft/playwright-dotnet#1791
(and other many... https://github.com/search?l=C%23&q=rollforward&state=closed&type=Issues )
I understand that this is different from Microsoft's "ideal" as the default is not, but I find it very inconvenient in practice.

I want that when .NET 7 is released, mpc will be in a state where it will work without updates in an environment where only .NET 7 is installed.
I thought this csproj specification was all I needed to specify, but do I need to specify anything else?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@mayuki

mayuki commented Jun 10, 2022

Copy link
Copy Markdown
Contributor

For example, after the release of .NET 7, if a developer sets up a development environment on a new machine and installs only .NET 7 SDK, MessagePack.Generator (mpc) cannot be used unless it is targeting net7.0.
It is slightly inconvenient to require .NET 6 SDK/Runtime to be installed just for the tool.

Of course, it is preferable to keep the targets updated, but I expect that it will be difficult to release projects in time for the release of .NET.

While I can understand the compatibility concerns, but as a user it would be nice to have a way to reduce the inconvenience caused by the time lag between release .NET and this project.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@AArnott

AArnott commented Jun 14, 2022

Copy link
Copy Markdown
Collaborator

Fair enough. I'll prepare to release 2.4 as stable.
As for this PR, I don't mean to block it. But we should find out how to actually do it properly. The content of the msbuild project is only important insofar as it propagates to the tool package somehow. My validation suggests that this change doesn't propagate, so we may need to research this more.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@AArnott AArnott added this to the v2.4 milestone Jun 14, 2022
AArnott
AArnott approved these changes Jun 14, 2022
View reviewed changes

@AArnott AArnott left a comment

Copy link
Copy Markdown
Collaborator

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Ok, I found where this project property actually gets embedded in the tool package (the mpc.runtimeconfig.json file). So I think this will work as advertised.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@AArnott AArnott added the enhancement label Jun 14, 2022
@AArnott
AArnott merged commit f1b42c0 into master Jun 14, 2022
@AArnott
AArnott deleted the generator-rollforward-major branch June 14, 2022 20:05
@dependabot dependabot Bot mentioned this pull request Sep 21, 2025
Bump MessagePack from 2.1.115 to 2.5.187 starchen/Brighter#4
Closed
This was referenced Oct 26, 2025
Bump MessagePack from 2.3.75 to 2.5.187 managedcode/umap#1
Closed
Bump MessagePack to 2.5.187 Senparc/Senparc.CO2NET#334
Merged
This was referenced Dec 2, 2025
Bump MessagePack from 2.3.85 to 3.1.4 dbolin/Apex.Serialization#262
Closed
Bump MessagePack and MessagePack.ImmutableCollection dbolin/Apex.Serialization#263
Open
@dependabot dependabot Bot mentioned this pull request Dec 10, 2025
Bump MessagePack from 1.9.11 to 2.5.187 dotnet/performance#5069
Open
@dependabot dependabot Bot mentioned this pull request Dec 26, 2025
Bump the nuget group with 2 updates niklasfp/nats.net#1
Closed
This was referenced Jan 22, 2026
Bump MessagePack from 2.4.59 to 2.5.187 collana-solutions/Csag.Extensions.Caching#3
Merged
Bump the nuget group with 1 update GlacierEQ/MemoryPack#1
Merged
@dependabot dependabot Bot mentioned this pull request Feb 20, 2026
Bump MessagePack from 2.3.85 to 3.1.4 Arkatufus/Akka.Persistence.Redis#82
Open
@dependabot dependabot Bot mentioned this pull request Mar 14, 2026
Bump the nuget group with 2 updates K1ko/osu#48
Open
This was referenced Jun 11, 2026
Bump MessagePack from 2.3.85 to 2.5.187 curiosity-ai/wiktionary#1
Closed
Bump MessagePack from 1.7.3.4 to 2.5.301 CodeKeySolutions/CryptoDaytrader#2
Open
Bump MessagePack from 2.1.90 to 2.5.301 NickStrupat/NichoblockStruchain#6
Open
Bump the nuget group with 1 update fhazraty/ReliableDistributedStorageSystem#1
Open
Bump MessagePack from 1.9.11 to 2.5.301 tonyredondo/TWCore2#24
Open
Bump MessagePack from 2.1.165 to 2.5.301 Rarder44/ExtendCSharp#2
Open
Bump MessagePack from 2.2.113 to 2.5.301 RileyGe/dotnet-algorand-sdk#49
Open
This was referenced Jun 11, 2026
Bump MessagePack from 3.1.6 to 3.1.7 geekswagg/EFCoreSecondLevelCacheInterceptor#1
Closed
Bump MessagePack from 1.7.3.7 to 2.5.301 KikeE36/MasterMemory#1
Open
Bump the nuget group with 2 updates korgano/CustomAmmoCategories#1
Open
Bump the nuget group with 1 update IntelIntent/BinaryPack#1
Open
Bump MessagePack from 2.2.85 to 2.5.301 shahabganji/EasyCompressor#1
Open
Bump MessagePack from 1.9.11 to 2.5.301 shahabganji/SmartEnum#1
Open
Bump MessagePack from 2.3.85 to 2.5.301 gengle/MessagePipe#3
Closed
Bump the nuget group with 1 update pa-0/ahk.ucrio#1
Open
Bump MessagePack from 2.1.90 to 2.5.301 sniten/psi#2
Open
Bump the nuget group with 1 update abri-herdmaster/HerdMASTER.Dotmim.Sync#5
Open
Bump MessagePack from 2.1.90 to 2.5.301 Cysharp/Ulid#113
Open
Bump MessagePack from 2.2.113 to 2.5.301 x0oo11235oo0x/dotnet-algorand-sdk#1
Open
Bump MessagePack and System.Memory nmaier/NMaier.Serializers#1
Open
Bump MessagePack from 2.3.85 to 2.5.301 curiosity-ai/wiktionary#2
Open
Bump MessagePack from 2.1.115 to 2.5.301 generatives/VoidTraveler#1
Open
Bump MessagePack and System.Memory Philippe-Laval/catalyst#1
Open
Bump MessagePack from 2.1.115 to 2.5.301 starchen/Brighter#5
Open
Bump the nuget group with 1 update pawelkasperek/AlterNats#1
Open
Bump MessagePack from 1.9.11 to 2.5.301 ConnectionMaster/dd-trace-dotnet#788
Open
Bump MessagePack from 1.9.3 to 2.5.301 IllusionMods/ZipStudio#5
Merged
This was referenced Jun 26, 2026
Bump MessagePack from 2.3.112 to 2.5.301 nanoframework/nf-Visual-Studio-extension#936
Closed
Bump the nuget group with 3 updates infinispan/Infinispan.Hotrod.Core#56
Open
@dependabot dependabot Bot mentioned this pull request Sep 15, 2026
Bump MessagePack from 1.9.11 to 2.5.301 f2calv/vs-nuget-issue#1
Closed
This was referenced Oct 19, 2026
Bump MessagePack from 2.3.85 to 2.5.303 gengle/MessagePipe#4
Open
Bump the nuget group with 1 update aetos382/MemoryPack#1
Open
Bump MessagePack from 2.2.85 to 2.5.303 umbraco/Umbraco.Cms.Integrations#347
Open
Bump MessagePack from 2.3.112 to 2.5.303 nanoframework/nf-Visual-Studio-extension#956
Closed
Bump MessagePack to 2.5.303 Senparc/Senparc.CO2NET#347
Open
Bump the nuget group with 5 updates maximumstock/exilence-next#4
Open
@dependabot dependabot Bot mentioned this pull request Nov 7, 2026
Bump MessagePack from 1.7.3.4 to 2.5.303 automatica-core/automatica#136
Closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@AArnott AArnott AArnott approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

enhancement

Projects

None yet

Milestone

v2.4

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@neuecc @AArnott @mayuki
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.