public void TestAssemblyLoad1() { AddTempFiles(1); using (StreamWriter sw = new StreamWriter((string)CodeFiles[0])) { sw.WriteLine(@" public class Test { }" ); } Compile(0); TypeResolutionService trs = new TypeResolutionService(Path.GetTempPath()); Assembly asm = trs.GetAssembly(Common.ReflectionHelper.ParseAssemblyName( Path.GetFileNameWithoutExtension((string)AsmFiles[0]))); Assert.IsNotNull(asm); }
public void TestAssemblyLoad() { TypeResolutionService trs = new TypeResolutionService(Path.GetTempPath()); trs.GetAssembly(null); }