In every generated file, I get a list of `using` statements. The last one is for the assembly itself, so if the file is in the `Foo.Bar.Baz` assembly then I get `using Foo.Bar.Baz;`.
Problem is, there are no classes in that (root) namespace, and so it doesn't compile. My classes are in child namespaces, and the views are also in child namespaces.
I assume it's inserted automatically just as a failsafe. But that blind failsafe breaks in my case.
How do I fix this?
Comments: Ah I see. Well, in most cases, it's the right thing to do to add those namespaces to the generated code. In fact, when __not__ using RG, the standard Razor engine should be adding them too. So I'd think the same issue should happen then.
Problem is, there are no classes in that (root) namespace, and so it doesn't compile. My classes are in child namespaces, and the views are also in child namespaces.
I assume it's inserted automatically just as a failsafe. But that blind failsafe breaks in my case.
How do I fix this?
Comments: Ah I see. Well, in most cases, it's the right thing to do to add those namespaces to the generated code. In fact, when __not__ using RG, the standard Razor engine should be adding them too. So I'd think the same issue should happen then.