Tags: app_code, basepage, believe, create, folder, microsoft, msdn, normally, project, software, studio, typical, visual, web

No App_Code folder option in VS 2008 Web Project

On Microsoft » Microsoft Visual Studio

968 words with 2 Comments; publish: Sun, 06 Jan 2008 09:26:00 GMT; (300171.88, « »)

Normally I believe it's typical to put your BasePage.cs in the App_Code folder. But I do not see an option to create a new App_Code folder in my new VS 2008 web project...why? When I right-click the solution, there's no option in the add ASP.NET folder contect menu for App_Code

All Comments

Leave a comment...

  • 2 Comments
    • Hello dba123,

      App_Code is the folder for the "Web Site" project.

      Seems that your created the "Web Application" project, where App_Code doesnt

      exist

      d> Normally I believe it's typical to put your BasePage.cs in the

      d> App_Code folder. But I do not see an option to create a new App_Code

      d> folder in my new VS 2008 web project...why? When I right-click the

      d> solution, there's no option in the add ASP.NET folder contect menu

      d> for App_Code

      d>

      #1; Sun, 06 Jan 2008 09:27:00 GMT
    • You don't need App_Code in Web Application since all code files are compiled during the build, as in client projects. You can place code files anywhere in WAP.

      #2; Sun, 06 Jan 2008 09:28:00 GMT