|
-
Mar 26th, 2002, 07:48 AM
#1
Thread Starter
Junior Member
How to add web reference for command line compilation ?
Dear All,
I want to compile c# code command line, if my code has reference of any assemblies, i can give it /reference paramater in compiler option. If my code has any web reference (web service), then how to refer and use it in compiler option..? Any idea..?
Help Me. Many thanx in advace.
Rafik
-
Mar 26th, 2002, 09:35 AM
#2
A proxy class has to be created first.
Use the command line app wsdl.exe
I am not sure on the parameters but it wouls be something like
wsdl http://bleck/myservice.asmx
then you just add a reference '/r:' to the assembly it creates as normal.
-
Mar 26th, 2002, 09:37 AM
#3
oh I think the proxy class is not compiled when made so you may have to compile that first to the dll..then compile your app..
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|