Skip to content

.NET 6.0.101 breaks GENERIC_MATH_FEATURE/PreviewFeatures functionallity #62840

@samtrion

Description

@samtrion

Description

After updating to the latest Visual Studio 2022 version on 12/14/21 and .NET SDK version 6.0.101, the project could not be built. Since the interfaces IBinaryNumber, IComparisonOperators & IFloatingPoint could no longer be found in the project https://github.com/samtrion/netevolve-guard

Reproduction Steps

  • Trying to build project with .NET 6.0.101

Expected behavior

Project can continue to be built successfully.

Actual behavior

Project can no longer be created because the interfaces IBinaryNumber, IComparisonOperators & IFloatingPoint are not available.

Regression?

Yes, with the mentioned workaround the creation of the project works.

Known Workarounds

Disabled the rollForward via the global.json.

{
  "sdk": {
    "version": "6.0.100",
    "rollForward": "disable"
  }
}

Configuration

  • Which version of .NET is the code running on?
    So far always the latest SDK version of .NET 6
  • What OS and version, and what distro if applicable?
    Windows 10 & Windows 11
  • What is the architecture (x64, x86, ARM, ARM64)?
    x64
  • Do you know whether it is specific to that configuration?
    Was able to recreate the issue both locally and on the GitHub Actions Runner.

Other information

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions