all groups > dotnet compact framework > february 2004 >
You're in the

dotnet compact framework

group:

Problem with references


Problem with references Zanna
2/29/2004 7:54:41 PM
dotnet compact framework:
Hi again :)

I would like to know how you manage the references in your projects and
solutions.
When I'm in debug I can have a solution with more projects, i.e: one exe and
two dll referenced by the exe.

Ok, when the dll are Ok I reopen the exe-project, but the references still
point to the project (that there is no longer), so I have to re-reference
the compiled dll... each time!

Add to this that it seems that VS.net sometimes when I do these
"reference-games" go crazy and does not recognize the referenced dll (no
intellisense, build hangs up...)... you understand that I need a sure way to
manage it.

Some tips?

Thanks

--
Math Parser : http://www.neodatatype.net



Re: Problem with references Zanna
3/1/2004 8:33:56 AM
[quoted text, click to view]

Yes, this is what I mean.


[quoted text, click to view]

You're right, but this can be good when the solution has 3/4 projects in
it... when you begin to have 10/20 projects in a solution... only the
loading will take 10 minuts :(
Re: Problem with references Lloyd Dupont
3/1/2004 10:19:22 AM
I don't really understand what you said but I could risk a guess.

if you reference a DLL directly in VS.NET (and if it is a private assembly
as opposed to one in the GAC), every time you change your project target
(Debug, Release, etc ..) VS.NET will just lost everything and you will have
to re-reference the DLL manually.
I guess that you have to cope with that (and alway work in Debug mode so the
problem don't come too often.)


Otherwise, if this is DLL of yours, you could have many project in a single
solution !
So just add all your project in the same solution and reference the Project
(NOT the DLL) and you would no such problem.


[quoted text, click to view]

Re: Problem with references Lloyd Dupont
3/3/2004 11:57:17 AM
I think there is some clues for you there:
http://www.codeproject.com/dotnet/RefreshProjectsMacro.asp

[quoted text, click to view]

AddThis Social Bookmark Button