Home All Groups Group Topic Archive Search About

How to get the names of the projects within a solution ?

Author
12 Aug 2006 4:37 PM
tommaso.gastaldi
Hello friends,

I need to retrieve - by code - the names of the assemblies which
compose the current solutions.

The retrieval code is assumed to be run in one of the assemblies
(usually the one corresponding to the "lower layer" DLL).

[This is for deserialization purpose.]

Any idea on how to do that?

-tommaso

Author
14 Aug 2006 1:46 PM
Brian Tkatch
tommaso.gasta***@uniroma1.it wrote:
> Hello friends,
>
> I need to retrieve - by code - the names of the assemblies which
> compose the current solutions.
>
> The retrieval code is assumed to be run in one of the assemblies
> (usually the one corresponding to the "lower layer" DLL).
>
> [This is for deserialization purpose.]
>
> Any idea on how to do that?
>
> -tommaso

Searching for "solution" in the object browser only return
"resolution". However, the .sln file itself is text, and should be
easily parseable.

B.