FixAssemblyPath() public static method

public static FixAssemblyPath ( string assemblyPath ) : string
assemblyPath string
return string
    public WithInterceptorInReferenceTests()
    {
        var assemblyPath        = Path.GetFullPath(@"..\..\..\AssemblyWIthInterceptorInReference\bin\Debug\AssemblyWIthInterceptorInReference.dll");
        var assemblyToReference = AssemblyWeaver.FixAssemblyPath(Path.GetFullPath(@"..\..\..\AssemblyToReference\bin\Debug\AssemblyToReference.dll"));

        assemblyWeaver = new AssemblyWeaver(assemblyPath, new List <string> {
            assemblyToReference
        });

        var interceptorAssembly = Assembly.LoadFrom(assemblyToReference);
        var methodTimeLogger    = interceptorAssembly.GetType("MethodTimeLogger");

        methodBaseField = methodTimeLogger.GetField("MethodBase");
    }
    public WithInterceptorInReferenceTests()
    {
        beforeAssemblyPath = Path.Combine(TestContext.CurrentContext.TestDirectory, @"..\..\..\AssemblyWIthInterceptorInReference\bin\Debug\AssemblyWIthInterceptorInReference.dll");
        var assemblyToReferencePath = Path.Combine(TestContext.CurrentContext.TestDirectory, @"..\..\..\AssemblyToReference\bin\Debug\AssemblyToReference.dll");
        var assemblyToReference     = AssemblyWeaver.FixAssemblyPath(assemblyToReferencePath);

        assemblyWeaver = new AssemblyWeaver(beforeAssemblyPath, new List <string> {
            assemblyToReference
        });

        var interceptorAssembly = Assembly.LoadFrom(assemblyToReference);
        var methodTimeLogger    = interceptorAssembly.GetType("MethodTimeLogger");

        methodBaseField = methodTimeLogger.GetField("MethodBase");
    }