Choose port automatically
This commit is contained in:
parent
9f46c88961
commit
8096b4aca4
|
|
@ -100,6 +100,7 @@ namespace ApplicationInsightsJavaScriptSnippetTest
|
||||||
var deploymentParameters = new DeploymentParameters(GetApplicationPath(), ServerType.Kestrel,
|
var deploymentParameters = new DeploymentParameters(GetApplicationPath(), ServerType.Kestrel,
|
||||||
RuntimeFlavor.CoreClr, RuntimeArchitecture.x64)
|
RuntimeFlavor.CoreClr, RuntimeArchitecture.x64)
|
||||||
{
|
{
|
||||||
|
ApplicationBaseUriHint = "http://localhost:0",
|
||||||
PublishApplicationBeforeDeployment = true,
|
PublishApplicationBeforeDeployment = true,
|
||||||
PreservePublishedApplicationForDebugging = PreservePublishedApplicationForDebugging,
|
PreservePublishedApplicationForDebugging = PreservePublishedApplicationForDebugging,
|
||||||
TargetFramework = "netcoreapp2.0",
|
TargetFramework = "netcoreapp2.0",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue