automated builds and the "References Path"

W

Walter

I'm setting up a script to build a C# solution, with several assemblies (
dlll's ). The script language would probably be VBScript, within a Windows
Script ( .wsf ) file. The main build step is done by running the
command-line program "devenv.com", for Visual Studio .NET 2003.

An earlier step I need to is to add a folder ( "X:\" ) to the "References
Path" for each project in the solution. Can anyone say a way to do that in a
script ?

Thanks for any help.
 
K

Kevin Yu [MSFT]

Hi Walter,

First of all, I would like to confirm my understanding of your issue. From
your description, I understand that you need to set the Reference Path for
a project programatically. If there is any misunderstanding, please feel
free to let me know.

Based on my research, we can set the ReferencePath property of a Project
object to achieve this. Please check the following link for code samples:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon/html/
vxlrfvslangprojprojectpropertiesreferencepath.asp

HTH.

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top