Sanjiv,

There have been reports of similar issues in the past, and these were always
caused by a bad install of the .NET Framework.

Can you trying reinstalling the .NET Framework 1.1 redistributable?

Gert

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of Sanjiv
> Sent: donderdag 23 maart 2006 7:44
> To: nant-developers@lists.sourceforge.net
> Subject: [nant-dev] Error on using NAnt
> 
> Hi Developers,
>  
> I am using NANT to build my project solution. This solution 
> file contains multiple projects developed in C++, WTL, C#, VB.NET
> It is giving me following error.
> --------------------------------------------------------------
> --------------------------------------------------------------
> C:\Program Files\nant-0.85-rc3\bin>NAnt build 
> -buildfile:I:\ProjectFolder\ATS\VDO.build
> NAnt 0.85 (Build 0.85.1932.0; rc3; 4/16/2005)
> Copyright (C) 2001-2005 Gerry Shaw
> http://nant.sourceforge.net <http://nant.sourceforge.net/> 
>  
> Buildfile: file:///I:/Snap-On/ATS/VDO.build
> Target framework: Microsoft .NET Framework 1.1
> Target(s) specified: build
>  
> 
> build:
>  
> 
> build.VDO:
>  
>  [solution] Starting solution build.
>  
> BUILD FAILED
>  
> INTERNAL ERROR
>  
> System.TypeInitializationException: The type initializer for 
> "NAnt.DotNet.Tasks.
> CompilerBase" threw an exception. ---> 
> System.ArgumentException: Culture ID 3177
> 0 (0x7C1A) is not a supported culture.
> Parameter name: culture
>    at System.Globalization.CultureInfo..ctor(Int32 culture, 
> Boolean useUserOverr
> ide)
>    at 
> System.Globalization.CultureTable.GetCultures(CultureTypes types)
>    at System.Globalization.CultureInfo.GetCultures(CultureTypes types)
>    at NAnt.DotNet.Tasks.CompilerBase..cctor()
>    --- End of inner exception stack trace ---
>    at 
> NAnt.DotNet.Tasks.CompilerBase.GetResourceCulture(String 
> resourceFile, Str
> ing dependentFile)
>    at NAnt.VSNet.Resource..ctor(ManagedProjectBase project, 
> FileInfo resourceSou
> rceFile, String resourceSourceFileRelativePath, String 
> dependentFile, SolutionTa
> sk solutionTask, GacCache gacCache)
>    at NAnt.VSNet.ManagedProjectBase..ctor(SolutionBase 
> solution, String projectP
> ath, XmlElement xmlDefinition, SolutionTask solutionTask, 
> TempFileCollection tfc
> , GacCache gacCache, ReferencesResolver refResolver, 
> DirectoryInfo outputDir)
>    at NAnt.VSNet.VBProject..ctor(SolutionBase solution, 
> String projectPath, XmlE
> lement xmlDefinition, SolutionTask solutionTask, 
> TempFileCollection tfc, GacCach
> e gacCache, ReferencesResolver refResolver, DirectoryInfo outputDir)
>    at NAnt.VSNet.ProjectFactory.CreateProject(SolutionBase 
> solution, SolutionTas
> k solutionTask, TempFileCollection tfc, GacCache gacCache, 
> ReferencesResolver re
> ferencesResolver, DirectoryInfo outputDir, String projectPath)
>    at NAnt.VSNet.ProjectFactory.LoadProject(SolutionBase 
> solution, SolutionTask
> solutionTask, TempFileCollection tfc, GacCache gacCache, 
> ReferencesResolver refe
> rencesResolver, DirectoryInfo outputDir, String path)
>    at NAnt.VSNet.SolutionBase.LoadProjects(GacCache gacCache, 
> ReferencesResolver
>  refResolver)
>    at NAnt.VSNet.Everett.Solution..ctor(String 
> solutionContent, SolutionTask sol
> utionTask, TempFileCollection tfc, GacCache gacCache, 
> ReferencesResolver refReso
> lver)
>    at NAnt.VSNet.SolutionFactory.LoadSolution(SolutionTask 
> solutionTask, TempFil
> eCollection tfc, GacCache gacCache, ReferencesResolver refResolver)
>    at NAnt.VSNet.Tasks.SolutionTask.ExecuteTask()
>    at NAnt.Core.Task.Execute()
>    at NAnt.Core.Target.Execute()
>    at NAnt.Core.Project.Execute(String targetName, Boolean 
> forceDependencies)
>    at NAnt.Core.Tasks.CallTask.ExecuteTask()
>    at NAnt.Core.Task.Execute()
>    at NAnt.Core.Target.Execute()
>    at NAnt.Core.Project.Execute(String targetName, Boolean 
> forceDependencies)
>    at NAnt.Core.Project.Execute()
>  & nbsp; at NAnt.Core.Project.Run()
>  
> Please send bug report to 
> nant-developers@lists.sourceforge.net 
> <mailto:nant-developers@lists.sourceforge.net> .
>  
> Total time: 2.5 seconds.
> --------------------------------------------------------------
> --------------------------------------------------------------
> Thanks.
> Regards,
> Sanjiv
> 
> ________________________________
> 
> New Yahoo! Messenger with Voice. 
> <http://us.rd.yahoo.com/mail_us/taglines/postman4/*http://us.r
> d.yahoo.com/evt=39666/*http://beta.messenger.yahoo.com>  Call 
> regular phones from your PC for low, low rates.
> 



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to