Skip to content

[Bug]: Package restore warning with ReactiveUI.WinForms #936

@MarkusKgit

Description

@MarkusKgit

Describe the bug 🐞

Hi,
I was evaluating ReactiveUI to modernize an old WinForms application and followed the steps described here.
However upon build / packe restore I get the following warning:
warning NU1701: Package 'ReactiveUI.WinForms 22.3.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 'net10.0-windows10.0.17763'. This package may not be fully compatible with your project.

So I tried it with a completely new blank WinForms project and still got the same result. Is this something to worry about or just noise?

Step to reproduce

  1. Create a new WinForms project
  2. Set TargetFramework: <TargetFramework>net10.0-windows10.0.17763.0</TargetFramework>
  3. Add Package: <PackageReference Include="ReactiveUI.WinForms" Version="*" />
  4. Build and check output

Reproduction repository

https://github.com/reactiveui/ReactiveUI

Expected behavior

Should build/restore for Net 10 without warning

Screenshots 🖼️

No response

IDE

No response

Operating system

No response

Version

No response

Device

No response

ReactiveUI Version

No response

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