Re: VS2005 mixed project intellisense confusion
- From: "Daniel Moth" <dmoth74@xxxxxxxxxxx>
- Date: Wed, 10 May 2006 09:10:49 +0100
No idea or suggestion but my advice always is to keep the two project
separate and not in the same solution. I don't even have both projects open
at the same time. This avoids corner case issues like the ones you are
facing and also plays better with source control.
Cheers
Daniel
--
http://www.danielmoth.com/Blog/
"tb2000" <tb2000@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:06FEFAC0-D20C-41A4-8185-EAE9D4169CF1@xxxxxxxxxxxxxxxx
My scenario:
- VS2005
- mixed projects (smart device and desktop) in a single sln
- a single source-tree for all projects.
- the primary project directly references the source files,
- the other projects use reference-links (to the source files).
Now various observations I could not find yet how to control:
- during a compile run there is errors (ok, that happens :-) ) and the
files
which VS then actually opens apparently are referenced from the direct
references, not via the links: This leads to intellisense confusion
because
intellisense now interprets the files with the #if constants as defined in
the primary project and not the project which is currently being compiled
(regardless if set as ActiveProject or not btw).
- the same applies to files opened when a breaqkpoint is being hit.
- to make things worse: sometimes the IDE seems to get confused that if a
file is actually displayed in the editor (possibly from the before
explained
wrong selection) the next compile run for the active project (or any
actually
except the primary) fails as the IDE compiled the respective module with
the
settings not belonging to neither the active nor the compiled project but
with the settings the IDE takes from the falsely associated project.
Any idea or suggestion where (if possible) to affect that strange
behavior?
Thankx ahead!
tb
PS: this is probably relevant for vstudio.general, so I'll try to
crosspost,
not sur e if that is the correct url: vstudio.general
.
- Prev by Date: Re: Heasless application
- Next by Date: Re: Which cabs for Installing SQL Server Mobile and CF 2.0 with MSI on PDA?
- Previous by thread: Heasless application
- Next by thread: To thread or not to thread
- Index(es):
Relevant Pages
|