Title: Message
Hello all,
 
 
We are using cruisecontrol.net + nant 0.85-rc1 to build a solution containing many projects. Most of the projects are written in C#, but a few are written in C++
 
Everything works more or less well (except for that we have to do a few tricks with the MIDL task to get it working)
Today a developer checked in a modified project file for one of the C++ projects, and the automated build process failed with error message
 
        INTERNAL ERROR
 
        System.ArgumentNullException: Value cannot be null.
        Parameter name: projectSettings
 
It seems like this was a known problem that had been fixed.
Downloaded latest nant binaries (20050109) and retried. Now there is another error message
 
 
INTERNAL ERROR
 
System.FormatException: Index (zero based) must be greater than or equal to zero
 and less than the size of the argument list.
   at System.Text.StringBuilder.AppendFormat(IFormatProvider provider, String fo
rmat, Object[] args)
   at System.String.Format(IFormatProvider provider, String format, Object[] arg
s)
   at NAnt.VSNet.VcAssemblyReference.ResolveAssemblyReference() in d:\Source\nan
t-20050109T142833Z\src\NAnt.VSNet\VcAssemblyReference.cs:line 124
   at NAnt.VSNet.VcAssemblyReference..ctor(XmlElement xmlDefinition, ReferencesR
esolver referencesResolver, ProjectBase parent, GacCache gacCache) in d:\Source\
nant-20050109T142833Z\src\NAnt.VSNet\VcAssemblyReference.cs:line 47
   at NAnt.VSNet.VcProject.CreateReference(SolutionBase solution, XmlElement xml
Definition) in d:\Source\nant-20050109T142833Z\src\NAnt.VSNet\VcProject.cs:line
414
   at NAnt.VSNet.VcProject..ctor(SolutionBase solution, String projectPath, XmlE
lement xmlDefinition, SolutionTask solutionTask, TempFileCollection tfc, GacCach
e gacCache, ReferencesResolver refResolver, DirectoryInfo outputDir) in d:\Sourc
e\nant-20050109T142833Z\src\NAnt.VSNet\VcProject.cs:line 82
   at NAnt.VSNet.ProjectFactory.CreateProject(SolutionBase solution, SolutionTas
k solutionTask, TempFileCollection tfc, GacCache gacCache, ReferencesResolver re
ferencesResolver, DirectoryInfo outputDir, String projectPath) in d:\Source\nant
-20050109T142833Z\src\NAnt.VSNet\ProjectFactory.cs:line 191
   at NAnt.VSNet.ProjectFactory.LoadProject(SolutionBase solution, SolutionTask
solutionTask, TempFileCollection tfc, GacCache gacCache, ReferencesResolver refe
rencesResolver, DirectoryInfo outputDir, String path) in d:\Source\nant-20050109
T142833Z\src\NAnt.VSNet\ProjectFactory.cs:line 98
   at NAnt.VSNet.SolutionBase.LoadProjects(GacCache gacCache, ReferencesResolver
 refResolver) in d:\Source\nant-20050109T142833Z\src\NAnt.VSNet\SolutionBase.cs:
line 366
   at NAnt.VSNet.Everett.Solution..ctor(String solutionContent, SolutionTask sol
utionTask, TempFileCollection tfc, GacCache gacCache, ReferencesResolver refReso
lver) in d:\Source\nant-20050109T142833Z\src\NAnt.VSNet\Everett\Solution.cs:line
 98
   at NAnt.VSNet.SolutionFactory.LoadSolution(SolutionTask solutionTask, TempFil
eCollection tfc, GacCache gacCache, ReferencesResolver refResolver) in d:\Source
\nant-20050109T142833Z\src\NAnt.VSNet\SolutionFactory.cs:line 80
   at NAnt.VSNet.Tasks.SolutionTask.ExecuteTask() in d:\Source\nant-20050109T142
833Z\src\NAnt.VSNet\Tasks\SolutionTask.cs:line 399
   at NAnt.Core.Task.Execute() in d:\Source\nant-20050109T142833Z\src\NAnt.Core\
Task.cs:line 177
   at NAnt.Core.Target.Execute() in d:\Source\nant-20050109T142833Z\src\NAnt.Cor
e\Target.cs:line 249
   at NAnt.Core.Project.Execute(String targetName, Boolean forceDependencies) in
 d:\Source\nant-20050109T142833Z\src\NAnt.Core\Project.cs:line 887
   at NAnt.Core.Project.Execute() in d:\Source\nant-20050109T142833Z\src\NAnt.Co
re\Project.cs:line 839
   at NAnt.Core.Project.Run() in d:\Source\nant-20050109T142833Z\src\NAnt.Core\P
roject.cs:line 924
 
Please send bug report to [email protected].

Reply via email to