Bugs item #1427519, was opened at 2006-02-08 14:33
Message generated for change (Comment added) made by ferunic
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1427519&group_id=31650
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Tasks
Group: None
Status: Closed
Resolution: Out of Date
Priority: 5
Submitted By: Fernando (ferunic)
Assigned to: Nobody/Anonymous (nobody)
Summary: Solution Task fails.
Initial Comment:
Hi, I'm using nant (V 0,84) to build a solution with a
simple build file :
<?xml version="1.0"?>
<project name="BuildTest" default="">
<!-- kompiler kode -->
<solution solutionfile="C:\tester.sln"
configuration="debug" />
</project>
this solution has some projects and one of this
projects fails the I got a lot of internal compiler
errors, but if I build the project or the solution
from VS everything works fine.
Then once I've builded solution from VS (without
errors) if I run the build file again , it works! I
can't understund it, please help!!
Another thing I'm not able to find out is how to
complie a single project (from a csproj file) it is
possible??
Thanks a lot.
Fernando.
----------------------------------------------------------------------
>Comment By: Fernando (ferunic)
Date: 2006-02-08 16:25
Message:
Logged In: YES
user_id=1434920
Hi, I've tried with teh latest version and I get this now
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.CSharpProject..ctor(SolutionBase solution,
String projectPath,
XmlElement xmlDefinition, SolutionTask solutionTask,
TempFileCollection tfc, Gac
Cache 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.SolutionBase..ctor(SolutionTask
solutionTask, TempFileCollectio
n tfc, GacCache gacCache, ReferencesResolver refResolver)
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.Project.InitializeProjectDocument
(XmlDocument doc)
at NAnt.Core.Project.Execute()
at NAnt.Core.Project.Run()
Please send bug report to nant-
[EMAIL PROTECTED]
Total time: 0.2 seconds.
----------------------------------------------------------------------
Comment By: Gert Driesen (drieseng)
Date: 2006-02-08 14:48
Message:
Logged In: YES
user_id=707851
Try using a more recent version of NAnt
(http://nant.sourceforge.net/nightly/latest).
The reason it worked after you've built the solution from
VS.NET, is because NAnt is intelligent enough to see that
the solution does not need to be recompiled.
You can compile a single project using the <projects>
child element.
<solution ...>
<project>
<include name="PathTo/YourProject.csproj" />
</project>
</solution>
I'll you still reproduce the issue using a recent version
of NAnt, then please reopen this bug report and attach a
small repro.
Thanks !
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1427519&group_id=31650
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
nant-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nant-developers