Skip to content

Commit a30ee2d

Browse files
committed
fix documentation tests around desktop http client for .net core
1 parent 3e3e30b commit a30ee2d

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

build/scripts/Building.fsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ type Build() =
1818
|> Seq.iter(fun p ->
1919
let path = Paths.ProjectJson p.Name
2020
let o = Paths.ProjectOutputFolder p DotNetFramework.NetStandard1_3
21-
DotNet.Exec ["restore"; path; "--verbosity Warning"]
21+
DotNet.Exec ["restore"]
2222
DotNet.Exec ["build"; path; "--configuration Release"; "-o"; o; "-f"; DotNetFramework.NetStandard1_3.Identifier.MSBuild]
2323
)
2424

src/Tests/ClientConcepts/Connection/CustomConnections.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ public void OverrideHow()
5555
* Remember though that we reuse TCP connections so changing this to something really high should only be done with careful consideration.
5656
*/
5757

58+
#if !DOTNETCORE
5859
public class MySpecialHttpConnection : HttpConnection
5960
{
6061
protected override void AlterServicePoint(ServicePoint requestServicePoint, RequestData requestData)
@@ -66,4 +67,5 @@ protected override void AlterServicePoint(ServicePoint requestServicePoint, Requ
6667

6768
}
6869
}
70+
#endif
6971
}

0 commit comments

Comments
 (0)