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 / .NET Framework / General / November 2004

Tip: Looking for answers? Try searching our database.

.Proj / .Sln as object

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Farouche - 30 Nov 2004 16:53 GMT
Hi all

Was wondering: Is there anything out there that will me able to represent
.sln or .vbproj files as .Net objects.

I need to access the different properties of the files such as Project paths
and names in an .Sln file,  and Reference paths and config properties from a
.vbproj file.

Now I try to get the properties using txt file / string manipulation and
ReEx, but there must be an easier way or some allready implemented solution
to it ???

I was thinking of something like :

Function GetSolutionObject(slnFilePath as string) as SolutionClass
   .....
   .....
End Function

Any ideas

Thanks in advance

Allan
Rob Vretenar - 30 Nov 2004 20:46 GMT
I've never tried this myself, but there are a number of classes that
support VStudio solutions and language specific projects (vbproj,
csproj) files.  These object are described as part of the automation
model and have been desinged to help developers create add-ins for
Visual Studio.  You can search MSDN for "Automation and Extensibility
Overview".  This will provide you with a good starting point and will
show you how to use it.

Then look at "DTE Object Properties, Methods, and Events" which will
show you the object model.
Hope that helps.

Rob Vretenar [imason inc.]

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.