Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How update web reference from VS 2008 command line?

We have web references in our VS 2008 solution. We don't check in generated files. I need to update the generated files on our cruise control server -- so I need a command line method to update the web references. Is there a way to force devenv to do this?

like image 945
Dave C Avatar asked Aug 04 '09 20:08

Dave C


1 Answers

There is no command you can pass to Visual Studio from the command line to do this. What you can do though is use the wsdl.exe tool to generate the web references yourself. Under the hood, Visual Studio uses the same API as wsdl.exe to generate the references so there shouldn't be a functional difference between the two pieces of generated code (provided you give wsdl the right parameters)

WSDL.exe

  • http://msdn.microsoft.com/en-us/library/7h3ystb6(VS.80).aspx
like image 105
JaredPar Avatar answered Sep 23 '22 15:09

JaredPar