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: Yes I figured as much. For anyone else, there are two ways to solve this problem: 1. remove that line from the `web.config`, which is what I did 2. create a dummy/empty class in that namespace, so that the code can compile. Sort of what I've seen in T4MVC.
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: Yes I figured as much. For anyone else, there are two ways to solve this problem: 1. remove that line from the `web.config`, which is what I did 2. create a dummy/empty class in that namespace, so that the code can compile. Sort of what I've seen in T4MVC.