Skip to content

Commit 9dd34d8

Browse files
committed
target .net 5
1 parent 774d46b commit 9dd34d8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

YeelightAPI/DeviceLocator.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ public static async Task<IEnumerable<Device>> DiscoverAsync(
179179
CancellationToken cancellationToken) =>
180180
(await DeviceLocator.SearchNetworkForDevicesAsync(networkInterface, deviceFoundReporter, cancellationToken)).Devices;
181181

182-
#if NETSTANDARD2_1
182+
#if NETSTANDARD2_1 || NET5_0
183183
/// <summary>
184184
/// Enumerate devices asynchronously.
185185
/// </summary>

YeelightAPI/YeelightAPI.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks> netstandard2.0; netstandard2.1; net45; net46; net47; net48;</TargetFrameworks>
4+
<TargetFrameworks> netstandard2.0; netstandard2.1; net45; net46; net47; net48; net5.0</TargetFrameworks>
55
<Authors>Romain ODDONE</Authors>
66
<Company>Romain ODDONE</Company>
77
<Version>1.9.0</Version>

0 commit comments

Comments
 (0)