Skip to content

Commit 69aec08

Browse files
committed
DiskAccessLibrary: Added NET Framework 4.7.2 target (for Mono)
1 parent a197a66 commit 69aec08

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

DiskAccessLibrary/DiskAccessLibrary.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>net20;net40;netstandard2.0</TargetFrameworks>
4+
<TargetFrameworks>net20;net40;net472;netstandard2.0</TargetFrameworks>
55
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
66
<AssemblyName>DiskAccessLibrary</AssemblyName>
77
<Version>1.5.9</Version>

DiskAccessLibrary/Disks/RawDiskImage/RawDiskImage.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ public static int DetectBytesPerSector(string path)
327327

328328
private static bool IsWin32()
329329
{
330-
#if NETSTANDARD2_0
330+
#if NET472 || NETSTANDARD2_0
331331
return RuntimeInformation.IsOSPlatform(OSPlatform.Windows);
332332
#else
333333
return true;

0 commit comments

Comments
 (0)