public void GeneratesPEVerifyable() { _transformator.Transform(_tracker); _signer.SignAndSave(_tracker); File.Copy(AssemblyPath + @"\Remotion.Interfaces.dll", TempPath + @"\Remotion.Interfaces.dll"); _verifier.VerifyPEFile(TempPath + @"\DummyTarget.dll"); }
public void TearDown() { foreach (var file in Directory.EnumerateFiles(@TempPath, "*.dll", SearchOption.AllDirectories)) { Console.WriteLine(file); _verifier.VerifyPEFile(@file); } foreach (var file in Directory.EnumerateFiles(@TempPath, "*", SearchOption.AllDirectories)) { File.Delete(@file); } //Directory.Delete (TempPath, true); }