Visual Studio 2010 intellisence problem
-
Saturday, November 13, 2010 2:27 PMHi
I have some problems with VS2010,in spite of some of the class are valid in project and using namespace in which page that used that one.
but name space and class no declare in VS2010 even application run without error.
how can I solve this?
All Replies
-
Tuesday, November 16, 2010 3:59 AMModerator
Hello k1 fathi,
Thanks for your post.
Could you please describe your problem more specific? Do you mean the class and namespace are not declared in the application but could work fine? Which class and namespace do you mentioned?
Best regards,
Liliane
MSDN Subscriber Support in Forum
If you have any feedback on our support, please contact msdnmg@microsoft.com
Please mark the replies as answers if they help and unmark them if they provide no help. Welcome to the All-In-One Code Framework! If you have any feedback, please tell us. Thanks -
Saturday, November 20, 2010 7:14 AM
Thx,for your times
Yeap,this problem concerning to Class and namespace I define in project not about predefined "System....." namespace and classes.
How can I do?
-
Saturday, November 20, 2010 7:42 AM
Are you asking how to set the using statement for your own namespace?
You do it the same way as the predefined "System..." namespace:
Hope this helps.
www.insteptech.com ; msmvps.com/blogs/deborahk
We are volunteers and ask only that if we are able to help you, that you mark our reply as your answer. THANKS! -
Saturday, November 20, 2010 8:07 AM
Look,I explaining to you what happend.
I have some code like(Classes,...) add code to App_Code folder of my Website project,and when I import namespace by "using mynamespace"
but when I try to use the class in some aspx file VS2010 cant detect this is a class and never highlight class name,draw red line under the classname,but it work correctly in VS2008,some body said it depended to *.suo file.But I don't know why?!?
-
Friday, December 10, 2010 12:03 AM
Hi K1 fathi,
Do you have a solution (or zip'd up website folder) you could share with us that reproduces the problem you're seeing? I've done what you describe (add code and reference it) and it works correctly for me in Visual Studio 2010.
Thanks!
Pete [MSFT]

