I am having difficulty compiling with mcs ...I have no idea what this binary does plus the build breaks on the latest source drop

Specifically
build:
 
     [echo] Build Directory is C:\Nant\nant-0.85-rc3/build/net-2.0.win32/nant-0.
85-debug
     [nant] C:\Nant\nant-0.85-rc3\src\NAnt.Core\NAnt.Core.build build
            Buildfile: file:///C:/Nant/nant-0.85-rc3/src/NAnt.Core/NAnt.Core.bui
ld
            Target framework: Microsoft .NET Framework 2.0 Beta 1
            Target(s) specified: build
 

            build:
 

            BUILD FAILED
 
            INTERNAL ERROR
 
            System.Resources.MissingManifestResourceException: Could not find an
y resources appropriate for the specified culture (or the neutral culture). Make
 sure "Strings.resources" was correctly embedded or linked into assembly "NAnt.D
otNetTasks" at compile time.
               at System.Resources.ResourceManager.InternalGetResourceSet(Cultur
eInfo culture, Boolean createIfNotExists, Boolean tryParents)
               at System.Resources.ResourceManager.InternalGetResourceSet(Cultur
eInfo culture, Boolean createIfNotExists, Boolean tryParents)
               at System.Resources.ResourceManager.InternalGetResourceSet(Cultur
eInfo culture, Boolean createIfNotExists, Boolean tryParents)
               at System.Resources.ResourceManager.GetString(String name, Cultur
eInfo culture)
               at NAnt.Core.Util.ResourceUtils.GetString(String name, CultureInf
o culture, Assembly assembly)
               at NAnt.Core.Util.ResourceUtils.GetString(String name)
               at NAnt.DotNet.Tasks.CscTask.NeedsCompiling() in c:\Nant\nant-0.8
5-rc3\src\NAnt.DotNet\Tasks\CscTask.cs:line 390
               at NAnt.DotNet.Tasks.CompilerBase.ExecuteTask() in c:\Nant\nant-0
.85-rc3\src\NAnt.DotNet\Tasks\CompilerBase.cs:line 426
               at NAnt.Core.Task.Execute()
               at NAnt.Core.Target.Execute()
               at NAnt.Core.Project.Execute(String targetName, Boolean forceDepe
ndencies)
               at NAnt.Core.Project.Execute()
               at NAnt.Core.Project.Run()
 
            Please send bug report to nant-developers@lists.sourceforge.net.

Im going to try again tommorrow as soon as I get a better handle on the situation
Any suggestions Gert ?
Vielen Danke,
Martin
----- Original Message -----
Sent: Friday, October 28, 2005 5:41 AM
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-----
From: Laconia Data Systems [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 20, 2005 5:10 PM
To: Pillai, Gishu R (GE Energy)
Subject: Re: [Nant-users] RE: Weird NAnt build failures that go away after an IDE build

This actually happened to me recently where I was working for an Indian Manager (almost all of the managers here in the US are indian)
and he wanted my build environment which I had built locally transferred to his machine.
Unfortunately the American license did not work for him and I suggested that he license all of his software with indian licenses
and when all the components of my build were licensed and registered he was able to get my  build environment running on his machine.
As far as throwing up almost any doctor will tell you that is what happens to the human body when it is trying to expunge a poisonous substance or a foreign body or a substance which it cannot metabolise so the body attempts to purge the 'poison' ..when your builds 'throw up' you are probably using a component that is not registered or licensed or might be targetting the wrong version of framework
Turn on all your debug logging and send us the entire script as well as logs so we can see what exactly is going on
Viel Gluck!
Martin Gainty
das Amerika
----- Original Message -----
Sent: Thursday, October 20, 2005 1:43 AM
Subject: RE: [Nant-users] RE: Weird NAnt build failures that go away after an IDE build

We have the licenses setup on the build server. This is what happens on my machine.
If I run the NAnt script, what I would expect is that I may get a few nag-screens but the codebase
should build. It used to say a week back but lately it has been throwing up a lot.
Also the error appears to be with registering an assembly - don't feel it's related to licenses.
Thanks for replying,
Gishu
 
-----Original Message-----
From: Martin Gainty [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 19, 2005 8:47 PM
To: Pillai, Gishu R (GE Energy)
Subject: Re: [Nant-users] RE: Weird NAnt build failures that go away after an IDE build

I had the same issue in a websphere build environment 2 years back which caused the app to crash
get your company to fork over the money for the license and the problem will magically disapppear
----- Original Message -----
Sent: Wednesday, October 19, 2005 5:17 AM
Subject: [Nant-users] RE: Weird NAnt build failures that go away after an IDE build

Seems like this project just plain won't play with NAnt
I had 2 more intermittent errors
one was a dependent assembly not being found.
second one is

BUILD FAILED
 
Unexpected error while compiling project 'GateCycleMain'
    Item has already been added.  Key in dictionary: "E:\GC\RootBuild\source\DataAccess\GCDA\obj\Debug\GCDA.tlb"  Key being added: "E:\GC\RootBuild\source\DataAccess\GCDA\obj\Debug\GCDA.tlb"
 
Both are not seen if I build from the IDE. I get a couple of licensing nag-screen for some 3rd party components but the build succeeds.
 
Gishu
 

Reply via email to