Hi,
Thanks for posting!
I have replied the issue in the C sharp newsgroup. The following content is
my reply, just for your reference:
==================================================
Hi,
Thanks for posting!
Based on my experience, the current issue is caused by the modification of
compiling mode in ASP.NET 2.0. Since class is partial class, another part
of class is generated dynamically from the aspx page. So, if you want to
add the namespace for the current class. Besides adding the namespace in
the code mode, you also need modify the "Inherits="Default"" to
"Inherits="Namespace.Default"" in the view mode.
After peforming the test, the project is complied well. I hope this will be
helpful!
Regards,
==================================================
If you have anything unclear, please feel you free to let me know.
Thanks,
Yuan Ren [MSFT]
Microsoft Online Support
======================================================
PLEASE NOTE the newsgroup SECURE CODE and PASSWORD were
updated on February 14, 2006. Please complete a re-registration process
by entering the secure code mmpng06 when prompted. Once you have
entered the secure code mmpng06, you will be able to update your profile
and access the partner newsgroups.
======================================================
When responding to posts, please "Reply to Group" via your newsreader
so that others may learn and benefit from this issue.
======================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
======================================================