Skip to content

[Bug]: Wrong Nuget Version #3931

@GerdWB

Description

@GerdWB

Describe the bug 🐞

When creating a new .Net 6 Wpf Application and after adding NuGet Package ReactiveUI.WPF 20.1.63 I get the Compiler Warning:
warning NU1701: Package 'ReactiveUI.WPF 20.1.63' 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 'net6.0-windows7.0'. This package may not be fully compatible with your project.

Step to reproduce

  1. Create a new .Net6 WPF Application in VisualStudio 2022
  2. Add NuGet Package ReactiveUI.WPF 20.1.63
  3. Compile
  4. Check Output window for warnings

Reproduction repository

https://github.com/reactiveui/ReactiveUI

Expected behavior

The correct .Nuget Package ReactiveUI.WPF 20.1.63 for .Net 6 should be installed

Screenshots 🖼️

No response

IDE

Visual Studio 2022

Operating system

Windows 11

Version

No response

Device

No response

ReactiveUI Version

20.1.63

Additional information ℹ️

No response

Metadata

Metadata

Assignees

No one assigned

    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