Skip to content

Commit d2c574f

Browse files
Drop support for .NET 4.5 in favor of .NET 4.6.2
1 parent 9375211 commit d2c574f

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

sample/Ookii.Dialogs.Wpf.Sample/Ookii.Dialogs.Wpf.Sample.csproj

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

33
<PropertyGroup>
4-
<TargetFrameworks>net45;netcoreapp3.1;net5.0-windows</TargetFrameworks>
4+
<TargetFrameworks>net5.0-windows;netcoreapp3.1;net462</TargetFrameworks>
55
<OutputType>WinExe</OutputType>
66
<UseWPF>true</UseWPF>
77
<UseWindowsForms>true</UseWindowsForms>
@@ -22,10 +22,10 @@
2222
</PropertyGroup>
2323

2424
<PropertyGroup>
25-
<DisableImplicitFrameworkReferences Condition=" '$(TargetFramework)' == 'net45' ">true</DisableImplicitFrameworkReferences>
25+
<DisableImplicitFrameworkReferences Condition=" '$(TargetFramework)' == 'net462' ">true</DisableImplicitFrameworkReferences>
2626
</PropertyGroup>
2727

28-
<ItemGroup Condition=" '$(TargetFramework)' == 'net45' ">
28+
<ItemGroup Condition=" '$(TargetFramework)' == 'net462' ">
2929
<Reference Include="System" />
3030
<Reference Include="System.Core" />
3131
<Reference Include="System.Xaml" />

src/Ookii.Dialogs.Wpf/Ookii.Dialogs.Wpf.csproj

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

33
<PropertyGroup>
4-
<TargetFrameworks>net5.0-windows;netcoreapp3.1;net45</TargetFrameworks>
4+
<TargetFrameworks>net5.0-windows;netcoreapp3.1;net462</TargetFrameworks>
55
<UseWPF>true</UseWPF>
66
<UseWindowsForms>true</UseWindowsForms>
77
<RootNamespace>Ookii.Dialogs.Wpf</RootNamespace>
@@ -49,7 +49,7 @@
4949
<RepositoryUrl>https://github.com/ookii-dialogs/ookii-dialogs-wpf.git</RepositoryUrl>
5050
</PropertyGroup>
5151

52-
<PropertyGroup Condition=" '$(TargetFramework)' == 'net45' ">
52+
<PropertyGroup Condition=" '$(TargetFramework)' == 'net462' ">
5353
<DefineConstants>$(DefineConstants);NETFX</DefineConstants>
5454
</PropertyGroup>
5555

@@ -62,14 +62,14 @@
6262
</PropertyGroup>
6363

6464
<PropertyGroup>
65-
<DisableImplicitFrameworkReferences Condition=" '$(TargetFramework)' == 'net45' ">true</DisableImplicitFrameworkReferences>
65+
<DisableImplicitFrameworkReferences Condition=" '$(TargetFramework)' == 'net462' ">true</DisableImplicitFrameworkReferences>
6666
</PropertyGroup>
6767

6868
<ItemGroup>
6969
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All" />
7070
</ItemGroup>
7171

72-
<ItemGroup Condition=" '$(TargetFramework)' == 'net45' ">
72+
<ItemGroup Condition=" '$(TargetFramework)' == 'net462' ">
7373
<Reference Include="PresentationCore" />
7474
<Reference Include="PresentationFramework" />
7575
<Reference Include="System" />

src/Ookii.Dialogs/Ookii.Dialogs.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.WindowsDesktop">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net5.0-windows;netcoreapp3.1;net45</TargetFrameworks>
4+
<TargetFrameworks>net5.0-windows;netcoreapp3.1;net462</TargetFrameworks>
55
<UseWPF>true</UseWPF>
66
<UseWindowsForms>true</UseWindowsForms>
77

0 commit comments

Comments
 (0)