all groups > dotnet windows forms designtime > february 2005 >
You're in the

dotnet windows forms designtime

group:

access of project files from ComponentDesigner ?


access of project files from ComponentDesigner ? azerty
2/8/2005 11:45:48 PM
dotnet windows forms designtime:
hello,

I want read the file list of my project from a ComponentDesigner (in fact I
want read a specific file in another projet of the current solution from a
componentDesigner)

IDesignerHost seems not a good way to do this (I can access of the
rootcomponent for example)

Do you know the good entry point of the framework to this ?

thanks for your help

Re: access of project files from ComponentDesigner ? jer_m
2/10/2005 10:14:31 AM
Hi Azerty,

I think what your looking for is in the envdte namespace

EnvDTE._DTE myDTE = (EnvDTE._DTE)this.GetService(typeof(EnvDTE._DTE));
EnvDTE.Project proj = (EnvDTE.Project)myDTE.Solution.Projects.Item(1);

Kind Regards,
Jerron

[quoted text, click to view]
Re: access of project files from ComponentDesigner ? azerty
2/11/2005 12:05:01 AM
It work fine !

Thank you very much for your help !!

"jer_m" <jmghost@msn.com> a écrit dans le message de
news:1108059271.421413.281890@f14g2000cwb.googlegroups.com...
[quoted text, click to view]

AddThis Social Bookmark Button