Hello Dean,
Thanks for posting in the group.
Surely we could develop an addin to unload/load project in a solution. For
details on how to develop an add-in, we could refer to
http://msdn.microsoft.com/library/en-us/vsintro7/html/vxconCreatingAutomatio
nObjects.asp?frame=true.
For this intellisense issue, could you please provide us the following
information?
1) Do you use any batch build step to build the solution in command prompt?
Or you just build the whole solution in IDE?
2) For the offending project, if you include it in a new created solution,
does the problem happen?
We did got report that corrupted .projdata file could cause Intellisense
problem. For this kind of problem, we could close and reopen IDE to make
.projdata recreasted.
Best regards,
Yanhong Huang
Microsoft Online Partner Support

Signature
Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
!Content-Class: urn:content-classes:message
!From: "Dean Wiles" <dean.wiles@getronics.com>
!Sender: "Dean Wiles" <dean.wiles@getronics.com>
!Subject: Re-activating Intellisense
!Date: Mon, 22 Sep 2003 10:29:47 -0700
!Lines: 35
!Message-ID: <043801c3812f$1eb9e090$a301280a@phx.gbl>
!MIME-Version: 1.0
!Content-Type: text/plain;
! charset="iso-8859-1"
!Content-Transfer-Encoding: 7bit
!X-Newsreader: Microsoft CDO for Windows 2000
!X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
!Thread-Index: AcOBLx65SWI1jhDtTWCEqEo8dq9GNA==
!Newsgroups: microsoft.public.vsnet.ide
!Path: cpmsftngxa06.phx.gbl
!Xref: cpmsftngxa06.phx.gbl microsoft.public.vsnet.ide:8245
!NNTP-Posting-Host: TK2MSFTNGXA11 10.40.1.163
!X-Tomcat-NG: microsoft.public.vsnet.ide
!
!In a multiproject C# solution, VS.Net 2003 intellisense
!fails more than it works, particularly when switching
!between source files in different projects within a
!solution.
!
!Does anyone know of a fix for this?
!
!To work around this, we used to close VS, delete all the
!projects' obj directories, then reopen the solution and it
!would work for a few more minutes.
!
!We narrowed the problem area down to the auto-generated
!projdata file, and found that offending projects could re
!unloaded & reloaded without having to exit & restart VS.
!
!So our current intellisense workaround is to select the
!offending project(s) in the Solution Explorer window, and
!then select the Project / Unload Project menu. This frees
!VS's hold on the project files.
!
!Next delete the project(s)' obj\Debug\<project>.projdata
!file(s) from the file system. projdata is a hidden file,
!so you have to enable Explorer's "show hidden files"
!option.
!
!Then re-select the offending project(s) in the Solution
!Explorer window, and select the Project / Load Project
!menu. VS then recreates the projdata file and most of the
!time intellisense will work again.
!
!Has anyone found a better workaround for re-activating
!intellisense?
!
!BTW, can these steps be automated in the IDE? And if so,
!any good pointers for writing an add-in to do this?
!