I was trying to create a Dynamic Data Website using VS 2010 RC. An attempt to create an App_Code folder where I would put a LINQ to SQL class, failed. When I selected 'Add ASP.NET Folder' to add the folder, I had options to create only the following folders:
- App_GlobalResources
- App_LocalResources
- App_Data
- App_Browsers
- Theme
What happened to the App_Code folder?
If you want
app_code
folder, you must create "ASP.NET web site". Once done, right click on website (Solution Explorer)-> Add ASP.NET folder->App_Code.If you are looking at
app_code
folder inside "ASP.NET web application", you are wasting time.if you create a class, it will ask you if you want to add it on a App code folder.