Skip to content
This repository was archived by the owner on Dec 18, 2017. It is now read-only.

Commit 272f939

Browse files
committed
Rename 'packages-path' in web.config to 'runtime-path'
1 parent 31d24b2 commit 272f939

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

src/Microsoft.Framework.PackageManager/Bundle/BundleProject.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ private void GenerateWebConfigFileForWwwRootOut(BundleRoot root, Runtime.Project
357357
{
358358
{ Runtime.Constants.WebConfigKpmPackagePath, relativePackagesPath},
359359
{ Runtime.Constants.WebConfigBootstrapperVersion, GetBootstrapperVersion(root)},
360-
{ Runtime.Constants.WebConfigPackagesPath, relativePackagesPath},
360+
{ Runtime.Constants.WebConfigRuntimePath, relativePackagesPath},
361361
{ Runtime.Constants.WebConfigRuntimeVersion, GetRuntimeVersion(defaultRuntime)},
362362
{ Runtime.Constants.WebConfigRuntimeFlavor, GetRuntimeFlavor(defaultRuntime)},
363363
{ Runtime.Constants.WebConfigRuntimeAppBase, _applicationBase},

src/Microsoft.Framework.Runtime.Common/Impl/Constants.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ internal static class Constants
1414
public const string WebConfigRuntimeAppBase = RuntimeNamePrefix + "app-base";
1515
public const string WebConfigKpmPackagePath = "kpm-package-path";
1616
public const string WebConfigBootstrapperVersion = "bootstrapper-version";
17-
public const string WebConfigPackagesPath = "packages-path";
17+
public const string WebConfigRuntimePath = "runtime-path";
1818
public const string BootstrapperHostName = RuntimeShortName + ".host";
1919
public const string BootstrapperClrName = RuntimeShortName + ".clr";
2020
public const string BootstrapperCoreclrManagedName = RuntimeShortName + ".coreclr.managed";

test/Microsoft.Framework.PackageManager.FunctionalTests/KpmBundleTests.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ public void KpmBundleWebApp_RootAsPublicFolder(DisposableDir runtimeHomeDir)
9898
</appSettings>
9999
</configuration>", Constants.WebConfigKpmPackagePath,
100100
Constants.WebConfigBootstrapperVersion,
101-
Constants.WebConfigPackagesPath,
101+
Constants.WebConfigRuntimePath,
102102
Constants.WebConfigRuntimeVersion,
103103
Constants.WebConfigRuntimeFlavor,
104104
Constants.WebConfigRuntimeAppBase);
@@ -197,7 +197,7 @@ public void KpmBundleWebApp_SubfolderAsPublicFolder(DisposableDir runtimeHomeDir
197197
</appSettings>
198198
</configuration>", Constants.WebConfigKpmPackagePath,
199199
Constants.WebConfigBootstrapperVersion,
200-
Constants.WebConfigPackagesPath,
200+
Constants.WebConfigRuntimePath,
201201
Constants.WebConfigRuntimeVersion,
202202
Constants.WebConfigRuntimeFlavor,
203203
Constants.WebConfigRuntimeAppBase);
@@ -689,7 +689,7 @@ public void KpmBundleWebApp_CopyExistingWebConfig(DisposableDir runtimeHomeDir)
689689
</appSettings>
690690
</configuration>", Constants.WebConfigKpmPackagePath,
691691
Constants.WebConfigBootstrapperVersion,
692-
Constants.WebConfigPackagesPath,
692+
Constants.WebConfigRuntimePath,
693693
Constants.WebConfigRuntimeVersion,
694694
Constants.WebConfigRuntimeFlavor,
695695
Constants.WebConfigRuntimeAppBase);
@@ -765,7 +765,7 @@ public void KpmBundleWebApp_UpdateExistingWebConfig(DisposableDir runtimeHomeDir
765765
</appSettings>
766766
</configuration>", Constants.WebConfigKpmPackagePath,
767767
Constants.WebConfigBootstrapperVersion,
768-
Constants.WebConfigPackagesPath,
768+
Constants.WebConfigRuntimePath,
769769
Constants.WebConfigRuntimeVersion,
770770
Constants.WebConfigRuntimeFlavor,
771771
Constants.WebConfigRuntimeAppBase);
@@ -786,7 +786,7 @@ public void KpmBundleWebApp_UpdateExistingWebConfig(DisposableDir runtimeHomeDir
786786
</appSettings>
787787
</configuration>", Constants.WebConfigKpmPackagePath,
788788
Constants.WebConfigBootstrapperVersion,
789-
Constants.WebConfigPackagesPath,
789+
Constants.WebConfigRuntimePath,
790790
Constants.WebConfigRuntimeVersion,
791791
Constants.WebConfigRuntimeFlavor,
792792
Constants.WebConfigRuntimeAppBase);

0 commit comments

Comments
 (0)