I have a solution which consists of 8 projects one of which is c++ code.
>From the stack trace it is the VC project that is causing the issue. Briefly looking
at the source code, I can see that a null is always passed in as the Project
Settings parameter, hence the error. This is with v0.85rc1 [solution] Starting solution build. BUILD FAILED - 6 non-fatal error(s), 3 warning(s) INTERNAL ERROR System.ArgumentNullException: Value cannot be null. Parameter name: projectSettings at
NAnt.VSNet.ProjectReference..ctor(XmlElement xmlDefinition, ReferencesResolver
referencesResolver, ProjectBase parent, SolutionBase solution, ProjectSettings
projectSettings, GacCache gacCache, DirectoryInfo outputDir) at
NAnt.VSNet.ReferenceFactory.CreateReference(SolutionBase solution,
ProjectSettings projectSettings, XmlElement xmlDefinition, GacCache gacCache,
ReferencesResolver referencesResolver, ProjectBase parent, DirectoryInfo
outputDir) at
NAnt.VSNet.VcProject..ctor(SolutionBase solution, String projectPath,
XmlElement xmlDefinition, SolutionTask solutionTask, TempFileCollection tfc,
GacCache gacCache, ReferencesResolver refResolver, DirectoryInfo outputDir) at
NAnt.VSNet.ProjectFactory.CreateProject(SolutionBase solution, SolutionTask
solutionTask, TempFileCollection tfc, GacCache gacCache, ReferencesResolver
referencesResolver, DirectoryInfo outputDir, String projectPath) at
NAnt.VSNet.ProjectFactory.LoadProject(SolutionBase solution, SolutionTask
solutionTask, TempFileCollection tfc, GacCache gacCache, ReferencesResolver
referencesResolver, DirectoryInfo outputDir, String path) at
NAnt.VSNet.ProjectReference..ctor(XmlElement xmlDefinition, ReferencesResolver
referencesResolver, ProjectBase parent, SolutionBase solution, ProjectSettings
projectSettings, GacCache gacCache, DirectoryInfo outputDir) at
NAnt.VSNet.ReferenceFactory.CreateReference(SolutionBase solution,
ProjectSettings projectSettings, XmlElement xmlDefinition, GacCache gacCache,
ReferencesResolver referencesResolver, ProjectBase parent, DirectoryInfo
outputDir) at
NAnt.VSNet.ManagedProjectBase..ctor(SolutionBase solution, String projectPath,
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, GacCache gacCache, ReferencesResolver
refResolver, DirectoryInfo outputDir) at
NAnt.VSNet.ProjectFactory.CreateProject(SolutionBase solution, SolutionTask
solutionTask, TempFileCollection tfc, GacCache gacCache, ReferencesResolver
referencesResolver, DirectoryInfo outputDir, String projectPath) at
NAnt.VSNet.ProjectFactory.LoadProject(SolutionBase solution, SolutionTask
solutionTask, TempFileCollection tfc, GacCache gacCache, ReferencesResolver
referencesResolver, DirectoryInfo outputDir, String path) at
NAnt.VSNet.ProjectReference..ctor(XmlElement xmlDefinition, ReferencesResolver
referencesResolver, ProjectBase parent, SolutionBase solution, ProjectSettings
projectSettings, GacCache gacCache, DirectoryInfo outputDir) at
NAnt.VSNet.ReferenceFactory.CreateReference(SolutionBase solution,
ProjectSettings projectSettings, XmlElement xmlDefinition, GacCache gacCache,
ReferencesResolver referencesResolver, ProjectBase parent, DirectoryInfo
outputDir) at
NAnt.VSNet.ManagedProjectBase..ctor(SolutionBase solution, String projectPath,
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,
GacCache gacCache, ReferencesResolver refResolver, DirectoryInfo outputDir) at
NAnt.VSNet.ProjectFactory.CreateProject(SolutionBase solution, SolutionTask
solutionTask, TempFileCollection tfc, GacCache gacCache, ReferencesResolver
referencesResolver, DirectoryInfo outputDir, String projectPath) at
NAnt.VSNet.ProjectFactory.LoadProject(SolutionBase solution, SolutionTask
solutionTask, TempFileCollection tfc, GacCache gacCache, ReferencesResolver
referencesResolver, DirectoryInfo outputDir, String path) at
NAnt.VSNet.ProjectReference..ctor(XmlElement xmlDefinition, ReferencesResolver
referencesResolver, ProjectBase parent, SolutionBase solution, ProjectSettings
projectSettings, GacCache gacCache, DirectoryInfo outputDir) at
NAnt.VSNet.ReferenceFactory.CreateReference(SolutionBase solution,
ProjectSettings projectSettings, XmlElement xmlDefinition, GacCache gacCache,
ReferencesResolver referencesResolver, ProjectBase parent, DirectoryInfo
outputDir) at
NAnt.VSNet.ManagedProjectBase..ctor(SolutionBase solution, String projectPath,
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,
GacCache gacCache, ReferencesResolver refResolver, DirectoryInfo outputDir) at
NAnt.VSNet.ProjectFactory.CreateProject(SolutionBase solution, SolutionTask
solutionTask, TempFileCollection tfc, GacCache gacCache, ReferencesResolver
referencesResolver, DirectoryInfo outputDir, String projectPath) at
NAnt.VSNet.ProjectFactory.LoadProject(SolutionBase solution, SolutionTask
solutionTask, TempFileCollection tfc, GacCache gacCache, ReferencesResolver
referencesResolver, DirectoryInfo outputDir, String path) at
NAnt.VSNet.SolutionBase.LoadProjects(GacCache gacCache, ReferencesResolver
refResolver) at
NAnt.VSNet.Everett.Solution..ctor(String solutionContent, SolutionTask
solutionTask, TempFileCollection tfc, GacCache gacCache, ReferencesResolver
refResolver) at
NAnt.VSNet.SolutionFactory.LoadSolution(SolutionTask solutionTask,
TempFileCollection 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.Project.Execute() at
NAnt.Core.Project.Run() Please send bug report to [EMAIL PROTECTED] Total time: 0.4 seconds. Regards, Dave David Richards UBS Halo Development ECT IT 100 Liverpool Street London, EC2M 2RH Tel. +44-20-7567 26 62
Direct telephone no. 72662 Fax +44-20-7567 91 77 [EMAIL PROTECTED] |
Visit our website at http://www.ubs.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system.
E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments.