Unable to resolve System.Windows.Forms.dll in .Net Core 3.1

前端 未结 1 673
轮回少年
轮回少年 2020-12-18 06:08

I have a scenario where we are using a legacy .Net Framework dll in .Net core 3.1 class library. Internally .Net Framework dll is using System.Windows.Forms.dll which .Net c

相关标签:
1条回答
  • 2020-12-18 07:05

    I got the resolution, we can achieve this by framework reference.

    <FrameworkReference Include="Microsoft.WindowsDesktop.App" /> 
    

    For more details please refer https://natemcmaster.com/blog/2019/01/09/netcore-primitives-3/

    0 讨论(0)
提交回复
热议问题