Skip to content

Cannot upgrade to 6.0.0 when using .NET Framework 4.8 #268

@manu-st

Description

@manu-st

Description

I was trying to update my solution with the latest nuget packages and it would not allow upgrading FsUnit from 5.6.1 to 6.0.0 due to the following error:

NU1202: Package FsUnit 6.0.0 is not compatible with net48 (.NETFramework,Version=v4.8). Package FsUnit 6.0.0 supports: net6.0 (.NETCoreApp,Version=v6.0)
NU1202: Package FsUnit 6.0.0 is not compatible with net48 (.NETFramework,Version=v4.8) / win7-x86. Package FsUnit 6.0.0 supports: net6.0 (.NETCoreApp,Version=v6.0)

Repro steps

Please provide the steps required to reproduce the problem

  1. Create a solution/project relying on .NET 4.8 and try to add the FsUnit 6.0.0 package

Expected behavior

It should hopefully be compatible with .NET Framework 4.8.

Actual behavior

NU1202: Package FsUnit 6.0.0 is not compatible with net48 (.NETFramework,Version=v4.8). Package FsUnit 6.0.0 supports: net6.0 (.NETCoreApp,Version=v6.0)
NU1202: Package FsUnit 6.0.0 is not compatible with net48 (.NETFramework,Version=v4.8) / win7-x86. Package FsUnit 6.0.0 supports: net6.0 (.NETCoreApp,Version=v6.0)

Known workarounds

Stay at version 5.6.1.

Related information

  • Operating system: Windows
  • Branch: from Nuget
  • .NET Runtime, CoreCLR or Mono Version: .NET Framework 4.8 with Visual Studio
  • Performance information, links to performance testing scripts: N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions