Skip to content

[Bug]: ReactiveUI.Testing NuGet package does not contain some TFMs #4170

@Cheesebaron

Description

@Cheesebaron

Describe the bug 🐞

Looks like the new ReactiveUI.Testing packages do not contain net6.0+ TFMs only net462, net472, net8.0-windows, net9.0-windows and net10.0-windows. Screenshot from NuGet.org:

Image

So now when I restore packages on my xUnit Unit Test project I get the following warning:

Restore succeeded with 1 warning(s) in 5.8s
    /Users/tomaszcielecki/git/DrivingRangeApp/Tests/UnitTests/UnitTests.csproj : warning NU1701: Package 'ReactiveUI.Testing 22.0.1' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8, .NETFramework,Version=v4.8.1' instead of the project target framework 'net9.0'. This package may not be fully compatible with your project.

Step to reproduce

  1. Add reference to ReactiveUI.Testing version 22.0.1 in a Unit Test library targeting net9.0
  2. Restore packages

Expected behavior

I would have expected plain net8.0, net9.0 targets in the package too and not generate a warning when restoring packages on my Unit Test project.

Screenshots 🖼️

No response

IDE

No response

Operating system

No response

Version

No response

Device

No response

ReactiveUI Version

22.0.1

Additional information ℹ️

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions