Skip to content

Compatibility

where where edited this page Jan 31, 2024 · 2 revisions

References

AdvancedSharpAdbClient
├─.NET Standard
│  ├─netstandard1.3
│  │  ├─NETStandard.Library
│  │  └─System.Xml.XPath.XmlDocument
│  ├─netstandard2.0
│  │  └─Microsoft.Bcl.HashCode
│  └─netstandard2.1
├─.NET Framework
│  ├─net2.0-client
│  │  └─LinqBridge
│  ├─net3.5-client
│  │  └─AsyncBridge
│  ├─net4.0-client
│  │  └─Microsoft.Bcl.Async
│  ├─net4.5
│  ├─net4.6.1
│  │  └─Microsoft.Bcl.HashCode
│  └─net4.8
│     └─Microsoft.Bcl.HashCode
├─.NET Framework Core
│  ├─netcore5.0
│  │  ├─System.Net.Sockets
│  │  └─System.Xml.XPath.XmlDocument
│  ├─uap10.0
│  │  └─System.Xml.XPath.XmlDocument
│  └─uap10.0.15138.0
│     └─Microsoft.Bcl.HashCode
└─.NET Core App
   ├─netcoreapp2.1
   ├─netcoreapp3.1
   ├─net6.0
   ├─net6.0-windows10.0.17763.0
   │  ├─Microsoft.Windows.SDK.NET.Ref
   │  └─System.Drawing.Common
   ├─net8.0
   └─net8.0-windows10.0.17763.0
      ├─Microsoft.Windows.SDK.NET.Ref
      └─System.Drawing.Common

API Different

  • There are no **Async methods on .NET 2.0
  • Methods return IAsyncEnumerable<T> only exist on .NET Core App 3.0 or .NET Standard 2.1 and greater
  • Methods relative to WinRT only exist on UAP and -windows10.0.x
  • Methods relative to WinRT XAML only exist on UAP
  • Methods relative to System.Drawing.Common only exist on .NET Framework and -windows10.0.x
  • DnsEndPoint is AdvancedSharpAdbClient.Polyfills.DnsEndPoint below .NET 4.0
  • HashCode is AdvancedSharpAdbClient.Polyfills.HashCode below .NET 4.6.1, .NET Core App 2.1, .NET Standard 2.0 and UAP 10.0.15138.0
  • IReadOnlyCollection<T> is AdvancedSharpAdbClient.Polyfills.IReadOnlyCollection<T> below .NET 4.5
  • IReadOnlyList<T> is AdvancedSharpAdbClient.Polyfills.IReadOnlyList<T> below .NET 4.5
  • Point is AdvancedSharpAdbClient.Polyfills.Point below .NET Standard 2.0 and UAP 10.0.15138.0
  • Rectangle is AdvancedSharpAdbClient.Polyfills.Rectangle below .NET Standard 2.0 and UAP 10.0.15138.0

Target Choosing

Projects Using Nuget

Just choose by nuget.

PM> Install-Package AdvancedSharpAdbClient

Projects Copy DLL

  • .NET 2.0 - .NET 4.5
    • Choose net2.0-client with copy AdvancedSharpAdbClient.dll and LinqBridge.dll
  • .NET 4.5 - .NET 4.8.1
    • Choose net4.5 with copy AdvancedSharpAdbClient.dll
  • .NET Core App 2.1 - .NET Core App 3.0
    • Choose netcoreapp2.1 with copy AdvancedSharpAdbClient.dll
  • .NET Core App 3.1 - .NET 5.0
    • Choose netcoreapp3.1 with copy AdvancedSharpAdbClient.dll
  • .NET 6.0 - .NET 7.0
    • Choose net6.0 with copy AdvancedSharpAdbClient.dll
  • .NET 8.0 - .NET 9.0
    • Choose net8.0 with copy AdvancedSharpAdbClient.dll
  • Otherwise
    • If you are working on other platform or want to use full feature, just create a C# project with the same platform. Install the nuget and build it. Then you will find out which dll should copy in bin\$(Platform)\$(Configuration)\$(TargetFramework)\

Clone this wiki locally