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
 
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.
 
Total time: 2.5 seconds.
----------------------------------------------------------------------------------------------------------------------------
Thanks.
Regards,
Sanjiv


New Yahoo! Messenger with Voice. Call regular phones from your PC for low, low rates.

Reply via email to