public ModuleWeaver() { LogInfo = s => { }; LogWarning = s => { }; formatStringTokenResolver = new FormatStringTokenResolver(); AppDomain.CurrentDomain.AssemblyResolve += CurrentDomain_AssemblyResolve; }
public void FixtureSetUp() { var beforeAssemblyPath = Path.GetFullPath(@"..\..\..\AssemblyToProcess\bin\Debug\AssemblyToProcess.dll"); #if (!DEBUG) beforeAssemblyPath = beforeAssemblyPath.Replace("Debug", "Release"); #endif moduleDefinition = ModuleDefinition.ReadModule(beforeAssemblyPath); resolver = new FormatStringTokenResolver(); }
public void FixtureSetUp() { beforeAssemblyPath = Path.GetFullPath(Path.Combine(TestContext.CurrentContext.TestDirectory, @"..\..\..\AssemblyToProcess\bin\Debug\AssemblyToProcess.dll")); #if (!DEBUG) beforeAssemblyPath = beforeAssemblyPath.Replace("Debug", "Release"); #endif moduleDefinition = ModuleDefinition.ReadModule(beforeAssemblyPath); resolver = new FormatStringTokenResolver(); }
public ModuleWeaver() { LogInfo = s => { }; LogWarning = s => { }; formatStringTokenResolver = new FormatStringTokenResolver(); }
public ModuleWeaver() { LogInfo = s => { }; LogWarning = s => { }; _formatStringTokenResolver = new FormatStringTokenResolver(); }