Skip to content
This repository was archived by the owner on Jul 9, 2023. It is now read-only.

Commit fa0d9f2

Browse files
committed
UnitTest project target changed to .NET 4.5.2
1 parent a9c2924 commit fa0d9f2

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

Tests/Titanium.Web.Proxy.UnitTests/Titanium.Web.Proxy.UnitTests.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,15 @@
88
<AppDesignerFolder>Properties</AppDesignerFolder>
99
<RootNamespace>Titanium.Web.Proxy.UnitTests</RootNamespace>
1010
<AssemblyName>Titanium.Web.Proxy.UnitTests</AssemblyName>
11-
<TargetFrameworkVersion>v4.5.1</TargetFrameworkVersion>
11+
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
1212
<FileAlignment>512</FileAlignment>
1313
<ProjectTypeGuids>{3AC096D0-A1C2-E12C-1390-A8335801FDAB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
1414
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion>
1515
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
1616
<ReferencePath>$(ProgramFiles)\Common Files\microsoft shared\VSTT\$(VisualStudioVersion)\UITestExtensionPackages</ReferencePath>
1717
<IsCodedUITest>False</IsCodedUITest>
1818
<TestProjectType>UnitTest</TestProjectType>
19+
<TargetFrameworkProfile />
1920
</PropertyGroup>
2021
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
2122
<DebugSymbols>true</DebugSymbols>

Titanium.Web.Proxy/Helpers/SystemProxy.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public override string ToString()
4646
protocol = ProxyServer.UriSchemeHttp;
4747
break;
4848
case ProxyProtocolType.Https:
49-
protocol = Proxy.ProxyServer.UriSchemeHttps;
49+
protocol = ProxyServer.UriSchemeHttps;
5050
break;
5151
default:
5252
throw new Exception("Unsupported protocol type");

Titanium.Web.Proxy/RequestHandler.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@ await TcpHelper.SendRaw(clientStream, connection.Stream, BufferSize,
465465
catch (Exception e)
466466
{
467467
args.Exception = e;
468-
throw e;
468+
throw;
469469
}
470470
finally
471471
{

0 commit comments

Comments
 (0)