Question

Mulhearn22 on Fri, 22 Aug 2008 17:07:06


Hi,

I'm normally a VB programmer but am assigned to a C# project.  I'm having issues with the intellisense not showing up on my declared variables.  For example, if I do the following:

DataSet ds = new Dataset();

Then, if I type ds., no list comes up with a list of commands.  Since I'm kind of new to C# and it's IDE, I thought this might just be how it is but I asked some of my coworkers and a list is supposed to come up.  If I type String., a list comes up of commands.  It only seems to not work on my own variables.

I checked Tools > Options > Text Editor > C# > Intellisense and everything seems to be okay.

Please help!

TIA,
Matt
There is indeed a harmony to the universe.

Sponsored



Replies

Jeremy Meng MSFT on Fri, 22 Aug 2008 21:51:43


Hi Matt,

Did you have the "using System.Data;" statement at top?  Does this also happen when you declare an integer variable then try to access intellisense using '.'?  Can you past your code? Or a screenshot would be great too.

Thanks,
Jeremy

maxruben on Sun, 24 Aug 2008 16:59:05


Here is one thing to try:

Close visual studio.
Delete the hidden .sou file for the solution.
Restart visual studio .


/Ruben RJJournal

Andy bu on Tue, 26 Aug 2008 14:16:18


maxruben said:

Here is one thing to try:

Close visual studio.
Delete the hidden .sou file for the solution.
Restart visual studio .


/Ruben RJJournal


hi, Maxruben
   Could you explain the function about the *.suo file?

maxruben on Tue, 26 Aug 2008 17:57:50


The .suo file is the Solution User Option file that visual studio uses to keep track of settings and states such as breakpoints, watch window variables, window layout and so on. Sometimes this can get corrupt and it has been known to mess up with intellisense. The only way to fix it is to delete the .suo file and let visual studio rebuild it.


/Ruben RJJournal

Andy bu on Tue, 26 Aug 2008 23:54:43


Thanks for your clarification!!

that is the reason why my vs settings are always to be changed when I update codes from server.
It confused for a lot time.

AMAR BISHT on Sun, 16 Sep 2012 13:16:10


thanks jeremy ......its only because of ... using System.Data......!!!!

now intellisense Showing Dataset And Datatable Classes