Core: .NET 5 RC.1 - UITypeEditor Class

Created on 27 Sep 2020  路  2Comments  路  Source: dotnet/core

https://docs.microsoft.com/en-us/dotnet/api/system.drawing.design.uitypeeditor?view=net-5.0

The UITypeEditor class is not used for NET5. They say it's supported, but I don't agree with that.
I can't use it in a library that used NET5.

Examples:
image
image

Most helpful comment

It works fine for me in a .Net 5.0 library whose csproj looks like this:

<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <TargetFramework>net5.0</TargetFramework>
    <UseWindowsForms>true</UseWindowsForms>
  </PropertyGroup>

</Project>

Can you share your csproj?

All 2 comments

It works fine for me in a .Net 5.0 library whose csproj looks like this:

<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <TargetFramework>net5.0</TargetFramework>
    <UseWindowsForms>true</UseWindowsForms>
  </PropertyGroup>

</Project>

Can you share your csproj?

Bu csproj bu gibi g枚r眉n眉yor bir .Net 5.0 k眉t眉phanede benim i莽in iyi 莽al谋艧谋yor:

<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <TargetFramework>net5.0</TargetFramework>
    <UseWindowsForms>true</UseWindowsForms>
  </PropertyGroup>

</Project>

Csproj'unuzu payla艧abilir misiniz?

https://github.com/Taiizor/ReaLTaiizor/blob/develop/src/ReaLTaiizor/ReaLTaiizor.csproj

<UseWindowsForms>true</UseWindowsForms> It was fixed when I added the code :)

Was this page helpful?
0 / 5 - 0 ratings