mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Fixing specflow tests on TeamCity
--HG-- branch : 1.x
This commit is contained in:
@@ -8,10 +8,11 @@
|
|||||||
assemblies, which would otherwise not load
|
assemblies, which would otherwise not load
|
||||||
correctly.
|
correctly.
|
||||||
-->
|
-->
|
||||||
|
<!-- Needed for .NET 4.0 support and SQLite
|
||||||
|
see http://www.meadow.se/wordpress/?p=393 -->
|
||||||
<startup useLegacyV2RuntimeActivationPolicy="true">
|
<startup useLegacyV2RuntimeActivationPolicy="true">
|
||||||
<!-- Comment out the next line to force use of .NET 4.0 -->
|
<supportedRuntime version="v4.0"/>
|
||||||
<supportedRuntime version="v2.0.50727" />
|
<requiredRuntime version="v4.0.30319" />
|
||||||
<supportedRuntime version="v4.0.30319" />
|
|
||||||
</startup>
|
</startup>
|
||||||
|
|
||||||
<runtime>
|
<runtime>
|
||||||
|
@@ -12,6 +12,9 @@ namespace Orchard.Specs.Util {
|
|||||||
if (path.Parent.Equals(basePath))
|
if (path.Parent.Equals(basePath))
|
||||||
return path.FileName;
|
return path.FileName;
|
||||||
|
|
||||||
|
if (!path.IsDirectory && path.DirectoryName.Equals(basePath.DirectoryName))
|
||||||
|
return path.FileName;
|
||||||
|
|
||||||
return path.Parent.GetRelativePath(basePath).Combine(path.FileName);
|
return path.Parent.GetRelativePath(basePath).Combine(path.FileName);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user