dotnet / standard

This repo is building the .NET Standard
3.07k stars 428 forks source link

NetFX20 TypeLibType to .Net Standard #1755

Closed fatihyildizhan closed 2 years ago

fatihyildizhan commented 4 years ago

I am working with WindowsAPICodePack and moving to .Net Standard 2.1. Is there a way to convertTypeLibType to .Net Standard?

It currently requires Microsoft.NetFX20.

using System;
using System.Collections;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

namespace Microsoft.WindowsAPICodePack.Net
{
    [ComImport]
    [TypeLibType(0x1040)]
    [Guid("DCB00002-570F-4A9B-8D69-199FDBA5723B")]
    internal interface INetwork
    { }
}
terrajobst commented 2 years ago

No. I'm not even sure we support this in .NET Core TBH.

Closing as not planned, as .NET Standard is considered complete.