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: The ASP namespace is generated only when "GeneratePrettyNames" is FALSE. If it is TRUE - the generated namespace will be "ProjectName.App_Code" (for the helpers contained in the app_code folder). Obviously this namespace is not visible in View.cs files. And I can't even think of a possible workaround (except for including a "using" statement to al my views, and its THOUSANDS)
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: The ASP namespace is generated only when "GeneratePrettyNames" is FALSE. If it is TRUE - the generated namespace will be "ProjectName.App_Code" (for the helpers contained in the app_code folder). Obviously this namespace is not visible in View.cs files. And I can't even think of a possible workaround (except for including a "using" statement to al my views, and its THOUSANDS)