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----- 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----- |
- [Nant-users] RE: Weird NAnt build failures tha... Pillai, Gishu R (GE Energy)
- Re: [Nant-users] RE: Weird NAnt build fai... Martin Gainty
- RE: [Nant-users] RE: Weird NAnt build... Gert Driesen
- Re: [Nant-users] RE: Weird NAnt b... Martin Gainty
- RE: [Nant-users] RE: Weird NA... Gert Driesen
- Re: [Nant-users] RE: Wei... Martin Gainty
- RE: [Nant-users] RE:... Gert Driesen
- Re: [Nant-users]... Martin Gainty
- RE: [Nant-users] RE: Weird NAnt build fai... Bill Martin
- RE: [Nant-users] RE: Weird NAnt build fai... Bill Martin
- Re: [Nant-users] RE: Weird NAnt build... Laconia Data Systems
- RE: [Nant-users] RE: Weird NAnt build fai... Pillai, Gishu R (GE Energy)