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