namespace problem????
-
i just converted a project from 1.1 to 2.0 version and i try to compile its having problem... i have one cs file in subdirectory and the root directory i am using this class file into an aspx file, but both file have same namespace. But the compiler says, "the type or namespace name ... could not be found(are you missing a using directive or an assembly reference?)" Why? what is the problem here..? Thanks in Advance Regards R.Arockiapathinathan
-
i just converted a project from 1.1 to 2.0 version and i try to compile its having problem... i have one cs file in subdirectory and the root directory i am using this class file into an aspx file, but both file have same namespace. But the compiler says, "the type or namespace name ... could not be found(are you missing a using directive or an assembly reference?)" Why? what is the problem here..? Thanks in Advance Regards R.Arockiapathinathan
-
That's because of the new compilation model in the ASP.NET 2.0. In this case, you simply put the source code file in the subfolder to the shared folder
App_Code
. For more information, see ASP.NET Compilation Overview [^]thanks for the reply. After moving the cs file into app_code folder, its working fine. Regards R.Arockiapathinathan