Skip to content

Breaking change: Update FrameworkName to ".NET" #33680

Closed

Description

@richlander

See: https://github.com/dotnet/runtime/blob/master/src/libraries/System.Runtime.InteropServices.RuntimeInformation/src/System/Runtime/InteropServices/RuntimeInformation/RuntimeInformation.cs#L11

This code produces this output today (for 5.0):

.NET Core info
Version: 5.0.0
FrameworkDescription: .NET Core 5.0.0-preview.1.20120.5
CoreCLR Build: 5.0.0-preview.1.20120.5
CoreCLR Hash: 3c523a6
CoreFX Build: 5.0.0-preview.1.20120.5
CoreFX Hash: 3c523a6

Activity

  1. Dotnet-GitSync-Bot commented on Mar 17, 2020

    @Dotnet-GitSync-Bot
    Collaborator

    I couldn't add an area label to this Issue.

    Checkout this page to find out which area owner to ping, or please add exactly one area label to help train me in the future.

  2. added
    untriaged
    on Mar 17, 2020
  3. added
    breaking-change
    on Mar 17, 2020
  4. added this to the 5.0 milestone on Mar 17, 2020
  5. self-assigned this
    on Mar 17, 2020
  6. added a commit that references this issue on Mar 17, 2020
    8535d81
  7. added a commit that references this issue on Apr 7, 2020
    385560c
  8. danmoseley commented on Apr 7, 2020

    @danmoseley
    Contributor

    @jkotas do you plan to update markdowns in this repo also?

  9. jkotas commented on Apr 7, 2020

    @jkotas
    Member

    @jkotas do you plan to update markdowns in this repo also?

    I have done a pass over the repo docs in #33694

  10. jkotas commented on Apr 7, 2020

    @jkotas
    Member

    I am sure there is more cleanup that can be done in the repo docs and comments, but I think we won't be able to fix all references to .NET Core. For example, if a comment talks about .NET Core 2.0, it should stay as .NET Core 2.0. Changing it to .NET 2.0 would be ambiguous (does it mean .NET Framework 2.0 or .NET Core 2.0?)

  11. added a commit that references this issue on Apr 7, 2020
    410b992
  12. 11 remaining items

  13. danmoseley commented on Jun 11, 2020

    @danmoseley
    Contributor

    Seems enough was done here cc @richlander

  14. richlander commented on Jun 17, 2020

    @richlander
    MemberAuthor

    Sounds good. Thanks for all the work, Jan! Looks great.

  15. ericstj commented on Jul 24, 2020

    @ericstj
    Member

    @ViktorHofer do we have a breaking change notice for the TFM change? If not can we add one here: https://github.com/dotnet/docs/issues/new?template=dotnet-breaking-change.md

  16. ViktorHofer commented on Jul 25, 2020

    @ViktorHofer
    Member

    We don't have one yet AFAIK. What would be the breaking change here? That we rename the short target framework moniker from netcoreapp to net? cc @terrajobst

  17. danmoseley commented on Jul 25, 2020

    @danmoseley
    Contributor

    Could break anyone testing Framework name (maybe various API) eg gfoidl/Stochastics#88

  18. ViktorHofer commented on Jul 26, 2020

    @ViktorHofer
    Member

    Sorry I was reasoning to Eric's question. I understand that renaming the FrameworkName is a breaking change. I guess even for the TargetFrameworkMoniker, which shouldn't be read/persisted anywhere as it's inferred properties should be used, a breaking change notice makes sense.

  19. ericstj commented on Jul 27, 2020

    @ericstj
    Member

    We can enumerate the places the new moniker may appear. The thing @danmosemsft mentioned actually doesn't change. We left it at .NETCoreApp:

    [assembly: TargetFramework(".NETCoreApp,Version=v5.0", FrameworkDisplayName = "")]

    The same seems to be true for AppDomainSetup.TargetFrameworkName.

    @jkotas changed what RuntimeInformation returns here:
    410b992

    Perhaps that's the only place? It might be worthwhile to just talk in general about the change and how it works and how it is largely non-breaking.

  20. added
    needs-breaking-change-doc-created
    on Jul 30, 2020
  21. ViktorHofer commented on Oct 7, 2020

    @ViktorHofer
    Member

    Filed the breaking change issue: dotnet/docs#20958

  22. removed
    needs-breaking-change-doc-created
    on Oct 7, 2020
  23. ericstj commented on Oct 7, 2020

    @ericstj
    Member

    Thanks @ViktorHofer, removed the label.

  24. ghost locked as resolved and limited conversation to collaborators on Dec 10, 2020
  25. removed
    untriaged
    on Jun 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area-System.Runtimebreaking-change

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions