[TestMethod]
[DeploymentItem("GoodAssembly.il")]
public void VerifyAssemblyViaFileInfo()
{
	AssemblyCreator.Create("GoodAssembly.il", "/dll");
	AssemblyVerification.Verify(new FileInfo("GoodAssembly.dll"));
}


Project Description
This is a simple wrapper around peverify. The nice thing about this assembly is that you can verify dynamic assemblies (generated via Reflection.Emit) directly in code so you'll know right away if something's wrong with your emitted code.
Last edited Jan 18 2008 at 12:09 AM by jasonrbock, version 3

 

Want to leave feedback?
Please use Discussions or Reviews instead.

Updating...
© 2006-2009 Microsoft | About CodePlex | Privacy Statement | Terms of Use | Code of Conduct | Version 2009.6.1.15196