From 76d0d56b5d9e925495560e21da22f70d75d69c29 Mon Sep 17 00:00:00 2001 From: Praburaj Date: Wed, 15 Apr 2015 15:09:15 -0700 Subject: [PATCH] Setting DNX_APPBASE from the deployment helpers --- src/MusicStore/wwwroot/web.config | 1 - test/DeploymentHelpers/Deployers/IISExpressDeployer.cs | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/MusicStore/wwwroot/web.config b/src/MusicStore/wwwroot/web.config index 472eb885a9..71ebc78e72 100644 --- a/src/MusicStore/wwwroot/web.config +++ b/src/MusicStore/wwwroot/web.config @@ -10,7 +10,6 @@ - \ No newline at end of file diff --git a/test/DeploymentHelpers/Deployers/IISExpressDeployer.cs b/test/DeploymentHelpers/Deployers/IISExpressDeployer.cs index dcd03f366c..1378f9c17b 100644 --- a/test/DeploymentHelpers/Deployers/IISExpressDeployer.cs +++ b/test/DeploymentHelpers/Deployers/IISExpressDeployer.cs @@ -90,8 +90,10 @@ namespace DeploymentHelpers // IIS express figures out the DNX from %PATH%. #if DNX451 startInfo.EnvironmentVariables["PATH"] = ChosenRuntimePath + ";" + startInfo.EnvironmentVariables["PATH"]; + startInfo.EnvironmentVariables["DNX_APPBASE"] = DeploymentParameters.ApplicationPath; #elif DNXCORE50 startInfo.Environment["PATH"] = ChosenRuntimePath + ";" + startInfo.Environment["PATH"]; + startInfo.Environment["DNX_APPBASE"] = DeploymentParameters.ApplicationPath; #endif var hostProcess = Process.Start(startInfo);