Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / Extensibility / August 2005

Tip: Looking for answers? Try searching our database.

Get project GUID via DTE (Extensibility)

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Oleg Ogurok - 25 Aug 2005 12:40 GMT
Hi there,

Is there a way to get the Guid of a C# project within a solution (.SLN) file
using VS.NET 2003 extensibility? I am able to get DTE.Project object but
can't find a property that contains a Guid that would uniquely identify the
project.
There is DTE.Project.UniqueName but it returns
DirectoryName\ProjectName.csproj, which it unreliable since a user can
rename a project.

-Oleg.
Carlos J. Quintero [VB MVP] - 29 Aug 2005 14:53 GMT
Hi Oleg,

Try with the DTE.Project.Properties collection. Not sure, though.

Signature

Best regards,

Carlos J. Quintero

MZ-Tools: Productivity add-ins for Visual Studio .NET, VB6, VB5 and VBA
You can code, design and document much faster.
Free resources for add-in developers:
http://www.mztools.com

> Hi there,
>
[quoted text clipped - 9 lines]
>
> -Oleg.

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.