}
if (addAssembliesInBin)
AddAssembliesInBin ();
+
+ foreach (NamespaceInfo info in PagesConfig.Namespaces) {
+ imports.Add (info.Namespace);
+ }
#else
foreach (string a in CompilationConfig.Assemblies)
AddAssemblyByName (a);
// Add the code file as an option to the
// compiler. This lets both files be compiled at once.
- compilerOptions += " " + realPath;
+ compilerOptions += " \"" + realPath + "\"";
} else if (inherits != null) {
// We just set the inherits directly because this is a
// Single-Page model.