Skip to content

Commit 52de95a

Browse files
committed
Bump framework version to 4.8
1 parent 05bfffb commit 52de95a

File tree

9 files changed

+104
-87
lines changed

9 files changed

+104
-87
lines changed
Binary file not shown.
+6-6
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
1-
<?xml version="1.0" encoding="utf-8"?>
1+
<?xml version="1.0" encoding="utf-8"?>
22
<configuration>
33
<connectionStrings>
4-
<add name="DefaultConnection" connectionString="Data Source=(LocalDb)\v11.0;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|\Hangfire.ConsoleApplication.mdf" providerName="System.Data.SqlClient" />
4+
<add name="DefaultConnection" connectionString="Data Source=(LocalDb)\v11.0;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|\Hangfire.ConsoleApplication.mdf" providerName="System.Data.SqlClient"/>
55
</connectionStrings>
66
<startup>
7-
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.1" />
7+
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8"/>
88
</startup>
99
<runtime>
1010
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
1111
<dependentAssembly>
12-
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
13-
<bindingRedirect oldVersion="0.0.0.0-9.0.0.0" newVersion="9.0.0.0" />
12+
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral"/>
13+
<bindingRedirect oldVersion="0.0.0.0-9.0.0.0" newVersion="9.0.0.0"/>
1414
</dependentAssembly>
1515
</assemblyBinding>
1616
</runtime>
17-
</configuration>
17+
</configuration>

Hangfire.ConsoleApplication/Hangfire.ConsoleApplication.csproj

+2-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<AppDesignerFolder>Properties</AppDesignerFolder>
1010
<RootNamespace>Hangfire.ConsoleApplication</RootNamespace>
1111
<AssemblyName>Hangfire.ConsoleApplication</AssemblyName>
12-
<TargetFrameworkVersion>v4.5.1</TargetFrameworkVersion>
12+
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
1313
<FileAlignment>512</FileAlignment>
1414
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
1515
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\</SolutionDir>
@@ -29,6 +29,7 @@
2929
<IsWebBootstrapper>false</IsWebBootstrapper>
3030
<UseApplicationTrust>false</UseApplicationTrust>
3131
<BootstrapperEnabled>true</BootstrapperEnabled>
32+
<TargetFrameworkProfile />
3233
</PropertyGroup>
3334
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
3435
<PlatformTarget>AnyCPU</PlatformTarget>

Hangfire.MvcApplication/Hangfire.MvcApplication.csproj

+5-4
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<AppDesignerFolder>Properties</AppDesignerFolder>
1414
<RootNamespace>Hangfire.MvcApplication</RootNamespace>
1515
<AssemblyName>Hangfire.MvcApplication</AssemblyName>
16-
<TargetFrameworkVersion>v4.5.1</TargetFrameworkVersion>
16+
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
1717
<UseIISExpress>true</UseIISExpress>
1818
<IISExpressSSLPort />
1919
<IISExpressAnonymousAuthentication />
@@ -22,6 +22,8 @@
2222
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\</SolutionDir>
2323
<RestorePackages>true</RestorePackages>
2424
<UseGlobalApplicationHostFile />
25+
<TargetFrameworkProfile />
26+
<Use64BitIISExpress />
2527
</PropertyGroup>
2628
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
2729
<DebugSymbols>true</DebugSymbols>
@@ -62,14 +64,13 @@
6264
<Reference Include="Owin">
6365
<HintPath>..\packages\Owin.1.0\lib\net40\Owin.dll</HintPath>
6466
</Reference>
67+
<Reference Include="System.Data.DataSetExtensions" />
6568
<Reference Include="System.Web.DynamicData" />
6669
<Reference Include="System.Web.Entity" />
6770
<Reference Include="System.Web.ApplicationServices" />
6871
<Reference Include="System.ComponentModel.DataAnnotations" />
6972
<Reference Include="System" />
7073
<Reference Include="System.Data" />
71-
<Reference Include="System.Core" />
72-
<Reference Include="System.Data.DataSetExtensions" />
7374
<Reference Include="System.Web.Extensions" />
7475
<Reference Include="System.Web.Helpers, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
7576
<SpecificVersion>False</SpecificVersion>
@@ -95,13 +96,13 @@
9596
<SpecificVersion>False</SpecificVersion>
9697
<HintPath>..\packages\Microsoft.AspNet.WebPages.3.2.3\lib\net45\System.Web.WebPages.Razor.dll</HintPath>
9798
</Reference>
98-
<Reference Include="System.Xml.Linq" />
9999
<Reference Include="System.Drawing" />
100100
<Reference Include="System.Web" />
101101
<Reference Include="System.Xml" />
102102
<Reference Include="System.Configuration" />
103103
<Reference Include="System.Web.Services" />
104104
<Reference Include="System.EnterpriseServices" />
105+
<Reference Include="System.Xml.Linq" />
105106
</ItemGroup>
106107
<ItemGroup>
107108
<Reference Include="Microsoft.Web.Infrastructure">

Hangfire.MvcApplication/Web.config

+37-29
Original file line numberDiff line numberDiff line change
@@ -1,64 +1,72 @@
1-
<?xml version="1.0" encoding="utf-8"?>
1+
<?xml version="1.0"?>
22
<!--
33
For more information on how to configure your ASP.NET application, please visit
44
http://go.microsoft.com/fwlink/?LinkId=301880
55
-->
66
<configuration>
77
<connectionStrings>
8-
<add name="DefaultConnection" connectionString="Data Source=(LocalDb)\v11.0;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|\Hangfire.MvcApplication.mdf" providerName="System.Data.SqlClient" />
8+
<add name="DefaultConnection" connectionString="Data Source=(LocalDb)\v11.0;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|\Hangfire.MvcApplication.mdf" providerName="System.Data.SqlClient"/>
99
</connectionStrings>
1010
<appSettings>
11-
<add key="webpages:Version" value="3.0.0.0" />
12-
<add key="webpages:Enabled" value="false" />
13-
<add key="ClientValidationEnabled" value="true" />
14-
<add key="UnobtrusiveJavaScriptEnabled" value="true" />
11+
<add key="webpages:Version" value="3.0.0.0"/>
12+
<add key="webpages:Enabled" value="false"/>
13+
<add key="ClientValidationEnabled" value="true"/>
14+
<add key="UnobtrusiveJavaScriptEnabled" value="true"/>
1515
</appSettings>
16+
<!--
17+
For a description of web.config changes see http://go.microsoft.com/fwlink/?LinkId=235367.
18+
19+
The following attributes can be set on the <httpRuntime> tag.
20+
<system.Web>
21+
<httpRuntime targetFramework="4.8" />
22+
</system.Web>
23+
-->
1624
<system.web>
17-
<compilation debug="true" targetFramework="4.5.1" />
18-
<httpRuntime targetFramework="4.5.1" />
25+
<compilation debug="true" targetFramework="4.8"/>
26+
<httpRuntime targetFramework="4.5.1"/>
1927
</system.web>
2028
<runtime>
2129
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
2230
<dependentAssembly>
23-
<assemblyIdentity name="Microsoft.Owin" publicKeyToken="31bf3856ad364e35" />
24-
<bindingRedirect oldVersion="0.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
31+
<assemblyIdentity name="Microsoft.Owin" publicKeyToken="31bf3856ad364e35"/>
32+
<bindingRedirect oldVersion="0.0.0.0-3.0.0.0" newVersion="3.0.0.0"/>
2533
</dependentAssembly>
2634
<dependentAssembly>
27-
<assemblyIdentity name="Microsoft.Owin.Security.OAuth" publicKeyToken="31bf3856ad364e35" />
28-
<bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
35+
<assemblyIdentity name="Microsoft.Owin.Security.OAuth" publicKeyToken="31bf3856ad364e35"/>
36+
<bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0"/>
2937
</dependentAssembly>
3038
<dependentAssembly>
31-
<assemblyIdentity name="Microsoft.Owin.Security.Cookies" publicKeyToken="31bf3856ad364e35" />
32-
<bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
39+
<assemblyIdentity name="Microsoft.Owin.Security.Cookies" publicKeyToken="31bf3856ad364e35"/>
40+
<bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0"/>
3341
</dependentAssembly>
3442
<dependentAssembly>
35-
<assemblyIdentity name="Microsoft.Owin.Security" publicKeyToken="31bf3856ad364e35" />
36-
<bindingRedirect oldVersion="0.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
43+
<assemblyIdentity name="Microsoft.Owin.Security" publicKeyToken="31bf3856ad364e35"/>
44+
<bindingRedirect oldVersion="0.0.0.0-3.0.0.0" newVersion="3.0.0.0"/>
3745
</dependentAssembly>
3846
<dependentAssembly>
39-
<assemblyIdentity name="Newtonsoft.Json" culture="neutral" publicKeyToken="30ad4fe6b2a6aeed" />
40-
<bindingRedirect oldVersion="0.0.0.0-9.0.0.0" newVersion="9.0.0.0" />
47+
<assemblyIdentity name="Newtonsoft.Json" culture="neutral" publicKeyToken="30ad4fe6b2a6aeed"/>
48+
<bindingRedirect oldVersion="0.0.0.0-9.0.0.0" newVersion="9.0.0.0"/>
4149
</dependentAssembly>
4250
<dependentAssembly>
43-
<assemblyIdentity name="System.Web.Optimization" publicKeyToken="31bf3856ad364e35" />
44-
<bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="1.1.0.0" />
51+
<assemblyIdentity name="System.Web.Optimization" publicKeyToken="31bf3856ad364e35"/>
52+
<bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="1.1.0.0"/>
4553
</dependentAssembly>
4654
<dependentAssembly>
47-
<assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" />
48-
<bindingRedirect oldVersion="1.0.0.0-1.5.2.14234" newVersion="1.5.2.14234" />
55+
<assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35"/>
56+
<bindingRedirect oldVersion="1.0.0.0-1.5.2.14234" newVersion="1.5.2.14234"/>
4957
</dependentAssembly>
5058
<dependentAssembly>
51-
<assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35" />
52-
<bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
59+
<assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35"/>
60+
<bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0"/>
5361
</dependentAssembly>
5462
<dependentAssembly>
55-
<assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35" />
56-
<bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
63+
<assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35"/>
64+
<bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0"/>
5765
</dependentAssembly>
5866
<dependentAssembly>
59-
<assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
60-
<bindingRedirect oldVersion="1.0.0.0-5.2.3.0" newVersion="5.2.3.0" />
67+
<assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35"/>
68+
<bindingRedirect oldVersion="1.0.0.0-5.2.3.0" newVersion="5.2.3.0"/>
6169
</dependentAssembly>
6270
</assemblyBinding>
6371
</runtime>
64-
</configuration>
72+
</configuration>

Hangfire.WebFormsApplication/Hangfire.WebFormsApplication.csproj

+3-5
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<AppDesignerFolder>Properties</AppDesignerFolder>
1616
<RootNamespace>Hangfire.WebFormsApplication</RootNamespace>
1717
<AssemblyName>Hangfire.WebFormsApplication</AssemblyName>
18-
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
18+
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
1919
<UseIISExpress>true</UseIISExpress>
2020
<IISExpressSSLPort />
2121
<IISExpressAnonymousAuthentication />
@@ -24,6 +24,8 @@
2424
<UseGlobalApplicationHostFile />
2525
<NuGetPackageImportStamp>
2626
</NuGetPackageImportStamp>
27+
<TargetFrameworkProfile />
28+
<Use64BitIISExpress />
2729
</PropertyGroup>
2830
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
2931
<DebugSymbols>true</DebugSymbols>
@@ -92,13 +94,9 @@
9294
<Reference Include="System.ComponentModel.DataAnnotations" />
9395
<Reference Include="System" />
9496
<Reference Include="System.Data" />
95-
<Reference Include="System.Core" />
96-
<Reference Include="System.Data.DataSetExtensions" />
9797
<Reference Include="System.Net.Http" />
9898
<Reference Include="System.Net.Http.WebRequest" />
9999
<Reference Include="System.Security" />
100-
<Reference Include="System.Web.Extensions" />
101-
<Reference Include="System.Xml.Linq" />
102100
<Reference Include="System.Drawing" />
103101
<Reference Include="System.Web" />
104102
<Reference Include="System.Xml" />

0 commit comments

Comments
 (0)