Skip to content

Commit da98eff

Browse files
committed
Fixed tfm related differs.
1 parent 0bffcc8 commit da98eff

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

FSharp.FlashCap/FSharp.FlashCap.fsproj

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

33
<PropertyGroup>
4-
<TargetFrameworks>net48;netstandard2.1</TargetFrameworks>
4+
<TargetFrameworks>net48;netstandard2.0;netstandard2.1;net5.0;net6.0;net7.0;net8.0</TargetFrameworks>
55
<IsPackable>true</IsPackable>
66
</PropertyGroup>
77

88
<ItemGroup>
9+
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.3" PrivateAssets="All" />
910
<PackageReference Update="FSharp.Core" Version="5.0.0" />
1011
</ItemGroup>
1112

FSharp.FlashCap/PixelBufferExtension.fs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ namespace FlashCap
1111

1212
open System.Diagnostics
1313

14+
#nowarn 3261
15+
1416
[<AutoOpen>]
1517
module public PixelBufferExtension =
1618

FlashCap/FlashCap.csproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66
<IsPackable>true</IsPackable>
77
</PropertyGroup>
88

9+
<ItemGroup>
10+
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.3" PrivateAssets="All" />
11+
</ItemGroup>
12+
913
<ItemGroup>
1014
<ProjectReference Include="..\FlashCap.Core\FlashCap.Core.csproj" />
1115
</ItemGroup>

0 commit comments

Comments
 (0)