public void AssemblyGenerationTest() { Options options = new Options(); options.Mode = Mode.SateliteAssembly; options.InputFiles.Add("../../../Examples.Hello/po/fr.po"); options.BaseName = "Examples.Hello.Messages"; options.OutDir = "../../../Examples.Hello/bin/Debug"; if (Path.DirectorySeparatorChar == '\\') { options.CompilerName = "csc"; } else { options.CompilerName = "mcs"; } options.LibDir = "./"; options.Locale = new CultureInfo("fr-FR"); options.Verbose = true; options.DebugMode = true; AssemblyGen gen = new AssemblyGen(options); try { gen.Run(); } catch (Exception e) { Assert.Fail("Assebly generation faild. Check that CSharp compiler is in PATH.\n{0}", e.Message); } }