.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan
Fauzul Azmi
Asad Ali
Post New Web Links

RegisterGlobalImports

Posted By:      Posted Date: October 15, 2010    Points: 0   Category :ASP.Net
 

Hello,

I have the following on a MVC 3 Beta (Using Razor) Global.asax:

    public static void RegisterGlobalImports() {
        CodeGeneratorSettings.AddGlobalImport("Infr.Helpers");
    } // RegisterGlobalImports

CodeGeneratorSettings is not recognized. Where is it?

And should I register the namespaces on RegisterGlobalImports or in Web.Config?

Why this change?

Thanks,

Miguel




View Complete Post


More Related Resource Links

Categories: 
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend