ApplicationSettingsTests.TestHelpers.GetAbsolutePathToTestAssembly C# (CSharp) Method

GetAbsolutePathToTestAssembly() private static method

private static GetAbsolutePathToTestAssembly ( ) : string
return string
        private static string GetAbsolutePathToTestAssembly()
        {
            var assembly = Assembly.GetAssembly(typeof(TestHelpers));
            var uri = new Uri(assembly.CodeBase);
            return System.IO.Path.GetDirectoryName(uri.AbsolutePath);
        }