mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Fixing orchard.proj spec build target case in specs/webhost, removing unwanted, warning-inducing references.
CR: Louis --HG-- branch : dev
This commit is contained in:
@@ -17,7 +17,12 @@ namespace Orchard.Specs.Hosting {
|
||||
|
||||
_tempSite = Path.Get(System.IO.Path.GetTempFileName()).Delete().CreateDirectory();
|
||||
|
||||
_orchardWebPath = baseDir.Parent.Parent.Parent.Combine("Orchard.Web");
|
||||
// Trying the two known relative paths to the Orchard.Web directory.
|
||||
// The second one is for the target "spec" in orchard.proj.
|
||||
_orchardWebPath = baseDir.Up(3).Combine("Orchard.Web");
|
||||
if (!_orchardWebPath.Exists) {
|
||||
_orchardWebPath = baseDir.Up(2).Combine("src").Combine("Orchard.Web");
|
||||
}
|
||||
|
||||
baseDir.Combine("Hosting").Combine(templateName)
|
||||
.DeepCopy(_tempSite);
|
||||
|
@@ -63,8 +63,6 @@
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\lib\fluentnhibernate\log4net.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.VisualStudio.QualityTools.UnitTestFramework, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<Reference Include="Microsoft.VisualStudio.TeamSystem.Data.UnitTesting, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<Reference Include="NHibernate, Version=2.1.2.4000, Culture=neutral, PublicKeyToken=aa95f207798dfdb4, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\lib\fluentnhibernate\NHibernate.dll</HintPath>
|
||||
|
Reference in New Issue
Block a user