Do you have any webreferences in your applications Gishu?  If so, then it may be that you need to re-generate the references during the build process.  I hit this problem, as proxy stubs were stored in PVCS by the integration with VS.  If you build the solution in VS, behind the scenes, it regenerates the stub, but with a Nant build, I had to do this manually with the <disco> and <wsdl> tasks in contrib.  Without doing this, I occasionally hit problems when a referenced web service had changed, and the assembly I was compiling and the webreferenced assembly both referenced a third assembly (if that makes sense).

 

If you don’t use webreferences, then it’s worth running a check on your machine that is failing as it sounds like in that case you have a spurious copy of the assembly you are referencing lying about that you are picking up at compile time.

 

HTH,

 

Bill

 

 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Pillai, Gishu R (GE Energy)
Sent: 28 October 2005 10:41
To: Laconia Data Systems; nant-users@lists.sourceforge.net
Subject: RE: [Nant-users] RE: Weird NAnt build failures that go away after an IDE build

 

Hi, this happened again today. NAnt build failed stating the following reason...

DataAccess\GCDA\GCDA\GCDA.cs(1988,15): error CS0117: 'GE.OST.Data.CurveSetDA.CurveSetDA' does not contain a definition for 'GetRatingTableValue'
External Program Failed: C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\regasm.exe (return code was 100)
 
I opened the solution in the IDE and once again the source is buildable. To add more mystery,
I have another machine running the same script and there CCTray is green. 
I can only think that maybe the solution task is optimizing 
by not building something that it says is up-to-date but is not. 
Again just speculating here... Maybe Gert or Martin can throw more light on this.
After the IDE Build, I closed the IDE and again ran a force-build, 
this time the first error went off but The regasm error persisted (2nd Log File)..
External Program Failed: C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\regasm.exe (return code was 100)
 
I have attached the build file and the logs with this mail. Please see if you can find anything amiss..
 
Thanks,
Gishu
 -----Original Message-----

 




Reply via email to