Bugs item #1569772, was opened at 2006-10-03 03:20 Message generated for change (Comment added) made by derekderaps You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1569772&group_id=31650
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: mahesh (mmkdissa) Assigned to: Nobody/Anonymous (nobody) Summary: How to add web reference to a build file Initial Comment: hello I am using Nant for build the Compact framework Project. I need to know how to add a webReference to a build file I tried <references> <lib> <include name ="Web References/RDAWebReference"/> </lib> <include name="*.*" /> </references> I also included the necessaray dll(System.Web.Services.dll,.... others) within the RDAWebReference there are following files rdaproxy.disco rdaproxy.wsdl Reference.map Reference.vb when it builds it gives the following error Type 'RDAWebReference.RDAProxy' is not defined. [vbc] [vbc] Dim webRef As New RDAWebReference.RDAProxy [vbc] so I can not build it. what is the way to add a web reference to a build file? I am working on "Microsoft .NET Compact Framework 1.0". Pls help me........... Mahesh Dissanayaka ---------------------------------------------------------------------- Comment By: Derek (derekderaps) Date: 2007-02-27 17:02 Message: Logged In: YES user_id=1730295 Originator: NO GOT IT! Okay, for anyone else out there, to add a webreference from a C# project made in VS2005... Include the following files in your NAnt build: %ProjDir%\Properties\*.cs %ProjDir%\Web References\%WebRefName%\Reference.cs Be sure you have the following in you in your "%ProjDir%\Web References\%WebRefName%\" directory: Reference.map all the *.datasource files WsCampana.disco WsCampana.wsdl Be sure you have the following in you in your "%ProjDir%\Properties" directory: Settings.settings no cachai el inglés? ni problema, avisame no más ---------------------------------------------------------------------- Comment By: Derek (derekderaps) Date: 2007-02-27 09:58 Message: Logged In: YES user_id=1730295 Originator: NO Has anyone solved this conundrum? I've been scratching my head at it for a few days. I've managed to build the website (actually a webservice) into a dll, which gives me access to all the webservice's webmethods, but not to the underlying DTO class definitions. For example, via a bonified Visual Studio web reference the following is possible in a website with a webservice reference: <code>MyWebService.MyDtoObject obj = new MyWebService.MyDtoObject()</code> Via the dll reference, the following is possible: <code>MyWebService ws = new MyWebService()</code> which gives access to the webservice methods. But the following is undefined: <code>WebService.MyDtoObject</code> Any ideas? Thanks in advance! ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1569772&group_id=31650 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers