
Signature
Joey Calisay
http://spaces.msn.com/members/joeycalisay/
this method will return only the assemblies referenced by the assembly of
the control, while I need the ones referenced by the top most project, the
winform assembly
thanks
> Assembly.GetReferencedAssemblies
>
[quoted text clipped - 3 lines]
> > with the list of the refernced assemblies of the control.
> > how do I access those assembly names at design time ?
joeycalisay - 04 May 2005 07:16 GMT
i don't get your follow up question. you can do it recursively...

Signature
Joey Calisay
http://spaces.msn.com/members/joeycalisay/
> this method will return only the assemblies referenced by the assembly of
> the control, while I need the ones referenced by the top most project, the
[quoted text clipped - 9 lines]
> > > with the list of the refernced assemblies of the control.
> > > how do I access those assembly names at design time ?
"Jeffrey Tan[MSFT]" - 06 May 2005 06:31 GMT
Hi moitmsdn,
Thanks for your post!!
Based on my understanding, you want to access the current project's
assembly at design-time.
I think VS.net design-time classes did not expose this function. We should
first use VS.net IDE automation to get the VS.net project's directory
absolute path information, then we can add a relative
"bin/debug/assemblyname" to this absolute path to get the control assembly
full path.
We may loop through the current project and get the current project's
ProjectItem object, then use ProjectItem.FullPath property to get the
directory path information.
To get more information about how to automate VS.net IDE in design-time
code, please refer to the article below:
"Reading the ASP.NET Web.config file Design Time"
http://blogs.madtechnology.net/chris/archive/2004/07/20/432.aspx
Hope this helps
==================================================
Thank you for your patience and cooperation. If you have any questions or
concerns, please feel free to post it in the group. I am standing by to be
of assistance.
Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
"Jeffrey Tan[MSFT]" - 10 May 2005 09:19 GMT
Hi moital,
Does my reply make sense to you? Do you still need help on this issue?
Please feel free to feedback. Thanks
Best regards,
Jeffrey Tan
Microsoft Online Partner Support

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