473,324 Members | 2,178 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

Intellisense magically disappearing!

Guy
I've written a DLL assembly in C#. I've built the DLL, and reference it from other projects. The assembly contains a single file, containing a single abstract class. This class contains loads of static "helper" methods, as well as a load of nested abstract classes that also contain static "helper" methods. This set up allows me to write code like the following

FormMethods.BusinessObjectEvents.HandleIsEditChang ed([argument list.....])
FormMethods.ConstructorCall([argument list.....])

As you can see, the class is very "structured", but the code in the class isn't at fault. Now, straight after I add a reference to the built assembly, Intellisense works fine. When press the 'dot' key, the intellisense pops up, at all levels of the heirarchy. But then, a few minutes later, for apparently no reason at all, Intellisense on this item stops working properly (it is fine everywhere else). Then, I'll only be able to see methods at the main class level. None of the nested classes appear, so I'm not able to access their methods via Intellisense, although they are still there, since if I type them out unaided, the code compiles. I've tried all the usual stuff - this problem isn't triggered by build warnings or errors (as often happens). It's as though it's happening at random.

Historically, the referenced assembly has been a project referenced from within the same solution, an assembly referenced by picking up the compiled DLL, and an assembly registered in the GAC. In all cases, the Intellisense magically disappears at random.

The only solution I've found, is that if the reference to the assembly is removed, and then added again, I buy myself about another 2 minutes of full Intellisense before it goes again! Not an ideal situation, since the classes in the assembly are very complex, and have large argument lists. Coding them unaided is a nightmare

Any help would be greatly appreciated

Thanks

Guy.
Jul 21 '05 #1
1 1747
Hello Guy,

Thanks for your post. As I understand, the problem you are faing is that
Intellisense randomly does not work. I think more information is needed
before moving forward:

Does the problem occurs to a specific referenced assembly or to all the
assemblies? Is the Intellisense still working on other items?

Generally speaking, the classview and intellisense data is stored .projdata
files which reside in the directory below. When the problem comes up, I
suggest that you can delete the .projdata files and see if it will work
around the problem then.
project directory\obj\debug\*.projdata

Have you checked this issue on other systems? Is it possible to send me a
sample project and tell me the detailed steps to reproduce the problem? I
will be glad to test on my side in order to check what was going on.

I look forward to hearing from you.

Have a nice day!

Regards,

HuangTM
Microsoft Online Partner Support
MCSE/MCSD

Get Secure! -- www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Jul 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: Larry Woods | last post by:
I have a site that works fine for days, then suddenly, I start getting ASP 0115 errors with an indication that session variables IN SEPARATE SESSIONS have disappeared! First, for background...
0
by: Babu Mannaravalappil | last post by:
(This is a cut-and-paste) of one of my previous posts. Since I did not get any help, I thought may be I should re-post it anew. Sorry!!) Environment: Visual Studio Enterprise 2003 DotNET 1.1...
1
by: R0bert Neville | last post by:
My web page has one unordered list that disappears in Firefox. The unordered list in question has the class="dir". I double-checked the source code and verified the markup's semantics. Everything...
1
by: .Net Sports | last post by:
Periodically, my project dll inside the bin folder keeps disappearing (????) , which creates a "Cannot load type myproject.global " error . ????? ..NetSports
2
by: neptune | last post by:
I built a form to access a query with a 2 field primary key. It should use 2 controls to find the unique record and display the other field values on the form. In the criteria section of the...
2
by: Rachel Suddeth | last post by:
Here is my scenario: I have a few custom controls that I set up on a form and tested setting properties and appearances. Then I added a couple references to the project which add classes I need to...
6
by: Winshent | last post by:
I have read many threads which indicate that this was a problem with version 2002. Why should i be suffering this? I am using VB.NET 2003 Standard Edition... is it still a problem with 2003? ...
1
by: Guy | last post by:
I've written a DLL assembly in C#. I've built the DLL, and reference it from other projects. The assembly contains a single file, containing a single abstract class. This class contains loads of...
0
by: =?Utf-8?B?Q2hhcmxlcw==?= | last post by:
Like many people, I normally use Yahoo! Mail via the web and like to keep all my emails stored on the Yahoo! server. However sometimes I can’t get access to a PC/the web and I download my emails...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.