PathExtensions GetFallbackEngineSourceCodeDirectory Method Delta Engine Documentation

Namespace: DeltaEngine.Extensions
Assembly: DeltaEngine (in DeltaEngine.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public static string GetFallbackEngineSourceCodeDirectory()

Return Value

Type: String
Remarks

Tests: DeltaEngine.Tests.Extensions.PathExtensionsTests
Examples

1 unit tests call DeltaEngine.Extensions.PathExtensions.GetFallbackEngineSourceCodeDirectory
[Test, Ignore]
public void InvalidStartupPathWillBeFixed()
{
    Directory.SetCurrentDirectory(@"C:\");
    var fixedPath = PathExtensions.GetFallbackEngineSourceCodeDirectory();
    Assert.IsTrue(Directory.Exists(fixedPath), fixedPath);
}
See Also