Open Sekar47 opened 3 months ago
The code can be found here: https://referencesource.microsoft.com/#System.Design/System/ComponentModel/Design/ObjectSelectorEditor.cs,6837e6e1c6dadbb2
As a work around you could implement your own UITypeEditor
?
@Olina-Zhang Is there some upgrade/conversion for this editor?
@merriemcgaw is this something winforms
is likely to implement?
Related: #1115
@Sekar47 it apparently exists and was implemented in .net core 3? You can find the source code at the link below: https://github.com/dotnet/winforms/blob/c7b604620172fe6fcdce92b7e1bb8edce450529c/src/System.Windows.Forms.Design/src/System/ComponentModel/Design/ObjectSelectorEditor.cs
Hi @elachlan , Now I'm working in .net core 8.0, In my project I can't see these types in that namespace.
@Sekar47, try this from .NET 6.0 to 9.0 that the ObjectSelectorEditor class can be find as below screenshot, could you please have a check if there missing anything?
In my application I'd installed the Microsoft.Winforms.Designer.SDK(1.6.0) as Nuget . that's why I can't be able to use these types with my classes. I need both (Nuget & these types) in my application. Is there any solution to move forward?
@Sekar47 Could you give more details on your scenario? Are you using this at runtime or design time?
Hi @lonitra , In our NetCore projects we've installed the Microsoft.Winforms.Designer.SDK for developing our custom control designers in winforms, but due to install this nuget we can't be able to utilize some types in the System.ComponentModel.Design namespace. without this SDK it is possible to use those types, but the difficulty comes only when i use the SDK. For an example, In the same screenshot which you provided, just install this SDK and then try to inherit this ObjectSelectEditor in your class.
Hi @lonitra , Is there any update for this issue?
I'm sorry to say that we don't have an update for you at this point. We're looking into it for a future version and will update in the next week or so.
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 ,
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
Diagnostics
No response