Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / General / May 2008

Tip: Looking for answers? Try searching our database.

Visual Studio 2008, ASP.NET website and App_Code directory

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Matty J - 21 Apr 2008 00:06 GMT
Hi.

When I create a ASP.NET website in Visual Studio 2008, why does Visual
Studio not create an App_Code directory or give the option to create
one when you right click the solution and go to Add => Add ASP.NET
folder?

Is there any reason why one can't just manually add a new folder and
call it 'App_Code' and have VS recognise it as the application code
directory? When I manually create an 'App_Code' directory, VS's
intellisense doesn't seem to recognise the classes in the .cs files
inside the App_Code directory...?

What am I missing?

Cheers
Matt
Matty J - 13 May 2008 01:10 GMT
One has to go to the 'properties' of the class file and set it to
'compile' rather than 'content' to get VS (or anything else to
recognise it).

Why is this not set as default, or is there an option somewhere?

Cheers
Matt

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.