I have a razor helper in App_Code/MyHelpers.cshtml
The generated class name in obj/CodeGen is
`public class _App_Code_MyHelpers_cshtml`
And of course all my views throw compile errors when referencing "MyHelpers.Something"
Adding `@* GeneratePrettyNames : true *@` does not fix the issue since the generated __namespace__ then becomes invisible in the view-code.
```
namespace ProjectName.App_Code
{
public class MyHelpers
}
```
Comments: I can't recall what we used to generate for Helper files prior to the pretty-names change, but Mvc by default uses the `Asp` namespace which is visible to views. Presumably we need to account for that if we have pretty names off. I can have a look at this (along with the Dev12 issue) today.
The generated class name in obj/CodeGen is
`public class _App_Code_MyHelpers_cshtml`
And of course all my views throw compile errors when referencing "MyHelpers.Something"
Adding `@* GeneratePrettyNames : true *@` does not fix the issue since the generated __namespace__ then becomes invisible in the view-code.
```
namespace ProjectName.App_Code
{
public class MyHelpers
}
```
Comments: I can't recall what we used to generate for Helper files prior to the pretty-names change, but Mvc by default uses the `Asp` namespace which is visible to views. Presumably we need to account for that if we have pretty names off. I can have a look at this (along with the Dev12 issue) today.