public Provider() { System.Console.WriteLine("Creating provider..."); var thisAssembly = typeof(Provider).Assembly; var modul = thisAssembly.GetModules()[0]; var rootNamespace = "FSharp.HelloWorld"; var container = TypeContainer.NewNamespace(modul, rootNamespace); helloWorldType = TypeBuilder.CreateSimpleType(container, "HelloWorldType", null, null, null); }