diff --git a/src/Microsoft.AspNetCore.Server.IISIntegration.Tools/WebConfigTransform.cs b/src/Microsoft.AspNetCore.Server.IISIntegration.Tools/WebConfigTransform.cs
index d5cfc66af2..66e0b60f5d 100644
--- a/src/Microsoft.AspNetCore.Server.IISIntegration.Tools/WebConfigTransform.cs
+++ b/src/Microsoft.AspNetCore.Server.IISIntegration.Tools/WebConfigTransform.cs
@@ -59,7 +59,7 @@ namespace Microsoft.AspNetCore.Server.IISIntegration.Tools
{
// Forward slashes currently work neither in AspNetCoreModule nor in dotnet so they need to be
// replaced with backwards slashes when the application is published on a non-Windows machine
- var appPath = Path.Combine(configureForAzure ? @"%home%\site" : ".", appName).Replace("/", "\\");
+ var appPath = Path.Combine(".", appName).Replace("/", "\\");
var logPath = Path.Combine(configureForAzure ? @"\\?\%home%\LogFiles" : @".\logs", "stdout").Replace("/", "\\");
if (!isPortable)
@@ -83,7 +83,6 @@ namespace Microsoft.AspNetCore.Server.IISIntegration.Tools
SetAttributeValueIfEmpty(aspNetCoreElement, "stdoutLogEnabled", "false");
SetAttributeValueIfEmpty(aspNetCoreElement, "stdoutLogFile", logPath);
- SetAttributeValueIfEmpty(aspNetCoreElement, "startupTimeLimit", "3600");
}
private static XElement GetOrCreateChild(XElement parent, string childName)
diff --git a/test/Microsoft.AspNetCore.Server.IISIntegration.Tools.Tests/WebConfigTransformFacts.cs b/test/Microsoft.AspNetCore.Server.IISIntegration.Tools.Tests/WebConfigTransformFacts.cs
index 51720967b2..4ebfef6c34 100644
--- a/test/Microsoft.AspNetCore.Server.IISIntegration.Tools.Tests/WebConfigTransformFacts.cs
+++ b/test/Microsoft.AspNetCore.Server.IISIntegration.Tools.Tests/WebConfigTransformFacts.cs
@@ -12,7 +12,7 @@ namespace Microsoft.AspNetCore.Server.IISIntegration.Tools.Tests
-
+
");
@@ -168,8 +168,8 @@ namespace Microsoft.AspNetCore.Server.IISIntegration.Tools.Tests
aspNetCoreElement.Elements().Remove();
Assert.True(XNode.DeepEquals(
- XDocument.Parse(@"").Root,
+ XDocument.Parse(@"").Root,
aspNetCoreElement));
}
@@ -182,7 +182,7 @@ namespace Microsoft.AspNetCore.Server.IISIntegration.Tools.Tests
Assert.True(XNode.DeepEquals(
XDocument.Parse(@"").Root,
+ stdoutLogFile="".\logs\stdout"" />").Root,
aspNetCoreElement));
}
@@ -198,7 +198,7 @@ namespace Microsoft.AspNetCore.Server.IISIntegration.Tools.Tests
Assert.True(XNode.DeepEquals(
XDocument.Parse(@"").Root,
+ stdoutLogFile="".\logs\stdout"" />").Root,
aspNetCoreElement));
}