From 8096b4aca43d08ce9f0d2fbacea70dcad3608a01 Mon Sep 17 00:00:00 2001 From: Ryan Brandenburg Date: Tue, 25 Jul 2017 10:11:43 -0700 Subject: [PATCH] Choose port automatically --- test/ApplicationInsights.HostingStartup.Tests/LoggingTest.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/test/ApplicationInsights.HostingStartup.Tests/LoggingTest.cs b/test/ApplicationInsights.HostingStartup.Tests/LoggingTest.cs index 336149aec9..7ead62becb 100644 --- a/test/ApplicationInsights.HostingStartup.Tests/LoggingTest.cs +++ b/test/ApplicationInsights.HostingStartup.Tests/LoggingTest.cs @@ -100,6 +100,7 @@ namespace ApplicationInsightsJavaScriptSnippetTest var deploymentParameters = new DeploymentParameters(GetApplicationPath(), ServerType.Kestrel, RuntimeFlavor.CoreClr, RuntimeArchitecture.x64) { + ApplicationBaseUriHint = "http://localhost:0", PublishApplicationBeforeDeployment = true, PreservePublishedApplicationForDebugging = PreservePublishedApplicationForDebugging, TargetFramework = "netcoreapp2.0",