Skip to content

ObjectSelectorEditor,Selector,SelectorNode types are not available in the System.ComponentModel.Design namespace in .NetCore projects in WinForms #11654

Open

Description

Environment

Edition - Windows 11 Enterprise
Version - 23H2
OS build - 22631.3737
Visual Studio version - 17.10.4

.NET version

.NetCore 6,7,8

Did this work in a previous version of Visual Studio and/or previous .NET release?

No, it doesn't work on previous NetCore versions.

Issue description

In my NetCore project ,

  1. I'm trying to use the CustomSelectedBarEditor class. In that class i've inherit this ObjectSelectorEditor.
  2. In the Overridden FillTreeWithData function i've used the Selector as an argument and use the SelectorNode type of prop inside t my private FillTreeNodes function.

Issue:
I can be able to achieve this in my Framework project. but due to the unavailability of these three types I can't be able to achieve in NetCore projects.

Steps to reproduce

Screenshot 2024-07-11 122704
Screenshot 2024-07-11 122730
Screenshot 2024-07-11 122755

Diagnostics

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    area-DesignerSupportblocking-migrationAn issue that is preventing the developer from migrating from .NET Framework or earlier .NETtenet-compatibilityIncompatibility with previous versions or with WinForms for .NET FrameworkuntriagedThe team needs to look at this issue in the next triage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions