473,387 Members | 1,798 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

.Proj / .Sln as object

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
Jul 21 '05 #1
1 1067
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.]

Jul 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: aladdin | last post by:
I use outside .jpg picture files in a Windows Form project. I try to compile use csc.exe at command line. I use resgen.exe to generate a resource file like: resgen.exe Form1.resx...
9
by: Marc Miller | last post by:
Hi all, I have 2 dev. machines, the 1st is Win 2000 with .NET 7.0 and the 2nd is XP Pro with .NET 2003. My Web Server is Win 2000 Server with IIS 5.0. I can create a new project on my test...
7
by: Tina | last post by:
I have an asp project that has 144 aspx/ascx pages, most with large code-behind files. Recently my dev box has been straining and taking long times to reneder the pages in the dev environment. ...
1
by: Turk | last post by:
Is it possible to deploy ASP.NET 2 proj onto PWS on windows2000 pro. The app runs fne in vstudio2005, but unable to configure asp.net 2 on PWS on my windows2000 development box. Is this...
2
by: shalender verma | last post by:
I am using VB6. I created a small project. I Want that i can activate my running project(minimized and appearing at the task bar) by pressing any code while working in any other application....
1
by: Farouche | last post by:
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...
5
by: Lynne | last post by:
I apologize in advance for the lengthy message but wanted to include as much information as possible. Any insight/assistance would be appreciated. The following line of code throws an error when...
2
by: vaishnavi | last post by:
hi, i want to do a proj for 2nd sem of mcs. could anyone tell me some project topics in java ? some proj topics in servlet or rmi..... or related with db.... pls send me list of the topics....
2
by: kkshansid | last post by:
$projid=$_GET; $q="INSERT INTO proj select * from projtemp where projid ='".$projid."'"; $qins=mysql_query($q); is resulting false is there any error? there are 2 tables in a database with name...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.