Skip to content

Commit 85f10da

Browse files
committed
Release v2.5.3
1 parent 0053309 commit 85f10da

File tree

6 files changed

+74
-70
lines changed

6 files changed

+74
-70
lines changed

.github/ISSUE_TEMPLATE/bug_report.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,11 @@ body:
3232
description: Specify the version of AdvancedSharpAdbClient you're using.
3333
options:
3434
- "Latest Source"
35+
- "2.5.3"
3536
- "2.5.2"
3637
- "2.5.1"
3738
- "2.5.0"
39+
- "1.3.0-g"
3840
- "Others"
3941
- type: dropdown
4042
attributes:

AdvancedSharpAdbClient/AdbClient.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@
1717
using System.Threading.Tasks;
1818
using System.Xml;
1919

20+
#if NET
21+
using System.Runtime.Versioning;
22+
#endif
23+
2024
namespace AdvancedSharpAdbClient
2125
{
2226
/// <summary>
@@ -371,6 +375,9 @@ public Framebuffer CreateRefreshableFramebuffer(DeviceData device)
371375
}
372376

373377
/// <inheritdoc/>
378+
#if NET
379+
[SupportedOSPlatform("windows")]
380+
#endif
374381
public async Task<Image> GetFrameBufferAsync(DeviceData device, CancellationToken cancellationToken)
375382
{
376383
EnsureDevice(device);

AdvancedSharpAdbClient/AdvancedSharpAdbClient.csproj

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,17 @@
22

33
<PropertyGroup>
44
<AssemblyTitle>.NET client for adb, the Android Debug Bridge (AdvancedSharpAdbClient)</AssemblyTitle>
5-
<Authors>The Android Open Source Project, Ryan Conrad, Quamotion and improved by yungd1plomat</Authors>
5+
<Authors>The Android Open Source Project, Ryan Conrad, Quamotion and improved by yungd1plomat, wherewhere</Authors>
66
<Copyright>https://github.com/quamotion/madb</Copyright>
7-
<Description>AdvancedSharpAdbClient is a .NET library that allows .NET and .NET Core applications to communicate with Android devices. It's improved version of SharpAdbClient.</Description>
7+
<Description>AdvancedSharpAdbClient is a .NET library that allows .NET and .NET Core applications to communicate with Android devices. It's a improved version of SharpAdbClient.</Description>
88
<GenerateDocumentationFile>True</GenerateDocumentationFile>
99
<IncludeSymbols>true</IncludeSymbols>
1010
<LangVersion>latest</LangVersion>
11-
<PackageLicenseExpression>MIT</PackageLicenseExpression>
11+
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
1212
<PackageProjectUrl>https://github.com/yungd1plomat/AdvancedSharpAdbClient</PackageProjectUrl>
1313
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
14-
<PackageTags>android;adb;SharpAdbClient;AdvancedSharpAdbClient;</PackageTags>
14+
<PackageTags>android;adb;SharpAdbClient;AdvancedSharpAdbClient</PackageTags>
15+
<RepositoryType>git</RepositoryType>
1516
<Product>AdvancedSharpAdbClient: A .NET client for the Android Debug Bridge (adb)</Product>
1617
<PublishRepositoryUrl>true</PublishRepositoryUrl>
1718
<RepositoryUrl>https://github.com/yungd1plomat/AdvancedSharpAdbClient</RepositoryUrl>
@@ -59,7 +60,7 @@
5960

6061
<ItemGroup Condition="'$(TargetFramework)' == 'net6.0'
6162
or '$(TargetFramework)' == 'netcoreapp3.1'
62-
or '$(TargetFramework)' == 'netstandard2.0'">
63+
or '$(TargetFramework)' == 'netstandard2.0'">
6364
<PackageReference Include="System.Drawing.Common" Version="7.0.0" />
6465
</ItemGroup>
6566

@@ -73,16 +74,16 @@
7374
</ItemGroup>
7475

7576
<ItemGroup Condition="'$(TargetFramework)' == 'net4.6.2'
76-
or '$(TargetFramework)' == 'net4.7.2'
77-
or '$(TargetFramework)' == 'net4.8.1'
78-
or '$(TargetFramework)' == 'net6.0'
79-
or '$(TargetFramework)' == 'netcoreapp3.1'
80-
or '$(TargetFramework)' == 'netstandard2.0'">
77+
or '$(TargetFramework)' == 'net4.7.2'
78+
or '$(TargetFramework)' == 'net4.8.1'
79+
or '$(TargetFramework)' == 'net6.0'
80+
or '$(TargetFramework)' == 'netcoreapp3.1'
81+
or '$(TargetFramework)' == 'netstandard2.0'">
8182
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="7.0.0" />
8283
</ItemGroup>
8384

8485
<PropertyGroup Condition="'$(TargetFramework)' != 'net3.5-client'
85-
and '$(TargetFramework)' != 'net4.0-client'">
86+
and '$(TargetFramework)' != 'net4.0-client'">
8687
<DefineConstants>$(DefineConstants);HAS_LOGGER</DefineConstants>
8788
</PropertyGroup>
8889

AdvancedSharpAdbClient/Framebuffer.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,13 @@
55
using System;
66
using System.Buffers;
77
using System.Drawing;
8-
using System.Runtime.Versioning;
98
using System.Threading;
109
using System.Threading.Tasks;
1110

11+
#if NET
12+
using System.Runtime.Versioning;
13+
#endif
14+
1215
namespace AdvancedSharpAdbClient
1316
{
1417
/// <summary>

AdvancedSharpAdbClient/Models/FramebufferHeader.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,12 @@
77
using System.Drawing.Imaging;
88
using System.IO;
99
using System.Runtime.InteropServices;
10-
using System.Runtime.Versioning;
1110
using System.Text;
1211

12+
#if NET
13+
using System.Runtime.Versioning;
14+
#endif
15+
1316
namespace AdvancedSharpAdbClient
1417
{
1518
/// <summary>

0 commit comments

Comments
 (0)