Fixing functional test execution

--HG--
branch : 1.x
This commit is contained in:
Sebastien Ros
2012-10-04 18:24:12 -07:00
parent 4874b75951
commit 9cebc4c389
2 changed files with 2 additions and 5 deletions

View File

@@ -45,11 +45,7 @@ namespace Orchard.Specs.Hosting {
_orchardWebPath = _orchardWebPath.Parent;
}
_orchardWebPath = _orchardWebPath.Combine("build").Combine("stage");
if (!_orchardWebPath.Exists) {
throw new ApplicationException("Could not locate stage folder at: " + _orchardWebPath.ToString());
}
_orchardWebPath = _orchardWebPath.Combine("src").Combine("Orchard.Web");
Log("Initialization of ASP.NET host for template web site \"{0}\":", templateName);
Log(" Source location: \"{0}\"", _orchardWebPath);

View File

@@ -94,6 +94,7 @@
<Reference Include="System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\lib\aspnetmvc\System.Web.Mvc.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="System.Web.Razor, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>