Skip to content

Commit 3471f07

Browse files
committed
UserInterface net46 -> net461
1 parent 721cf8f commit 3471f07

File tree

1 file changed

+2
-17
lines changed

1 file changed

+2
-17
lines changed

src/OpenCvSharp.UserInterface/OpenCvSharp.UserInterface.csproj

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

33
<PropertyGroup>
4-
<TargetFrameworks>net40;net46</TargetFrameworks>
4+
<TargetFrameworks>net40;net461</TargetFrameworks>
55
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
66
<GenerateDocumentationFile>true</GenerateDocumentationFile>
77
<AssemblyName>OpenCvSharp.UserInterface</AssemblyName>
@@ -19,22 +19,7 @@
1919
<ProjectReference Include="..\OpenCvSharp.Extensions\OpenCvSharp.Extensions.csproj" />
2020
</ItemGroup>
2121

22-
<ItemGroup Condition=" '$(TargetFramework)' == 'net40' ">
23-
<Reference Include="System.Drawing" />
24-
<Reference Include="System.Windows.Forms" />
25-
<Reference Include="System" />
26-
<Reference Include="Microsoft.CSharp" />
27-
</ItemGroup>
28-
29-
<PropertyGroup Condition=" '$(TargetFramework)' == 'net40' ">
30-
<DefineConstants>$(DefineConstants);DOTNET_FRAMEWORK;net40</DefineConstants>
31-
</PropertyGroup>
32-
33-
<PropertyGroup Condition=" '$(TargetFramework)' == 'net46' ">
34-
<DefineConstants>$(DefineConstants);net46</DefineConstants>
35-
</PropertyGroup>
36-
37-
<ItemGroup Condition=" '$(TargetFramework)' == 'net46' ">
22+
<ItemGroup>
3823
<Reference Include="System.Drawing" />
3924
<Reference Include="System.Windows.Forms" />
4025
<Reference Include="System" />

0 commit comments

Comments
 (0)