 [property] Target framework changed to "Microsoft .NET Framework 2.0".
 [solution] Starting solution build.
 [solution] Included projects:
 [solution]  - D:\SmallRepro\SmallRepro.csproj
 [solution] Loading projects...
 [solution] Loading project 'D:\SmallRepro\SmallRepro.csproj'.

BUILD FAILED

INTERNAL ERROR

System.NullReferenceException: Object reference not set to an instance of an object.
   at NAnt.MSBuild.MSBuildConfiguration..ctor(MSBuildProject project, Project msproj, Configuration projectConfig) in d:\Source\nant-20080210T102007Z\src\NAnt.MSBuild\MSBuildConfiguration.cs:line 52
   at NAnt.MSBuild.MSBuildProject..ctor(SolutionBase solution, String projectPath, XmlElement xmlDefinition, SolutionTask solutionTask, TempFileCollection tfc, GacCache gacCache, ReferencesResolver refResolver, DirectoryInfo outputDir) in d:\Source\nant-20080210T102007Z\src\NAnt.MSBuild\MSBuildProject.cs:line 104
   at NAnt.MSBuild.MSBuildProjectProvider.GetInstance(SolutionBase solution, String projectPath, XmlElement xmlDefinition, SolutionTask solutionTask, TempFileCollection tfc, GacCache gacCache, ReferencesResolver refResolver, DirectoryInfo outputDir) in d:\Source\nant-20080210T102007Z\src\NAnt.MSBuild\MSBuildProjectProvider.cs:line 45
   at NAnt.VSNet.ProjectFactory.CreateProject(SolutionBase solution, SolutionTask solutionTask, TempFileCollection tfc, GacCache gacCache, ReferencesResolver referencesResolver, DirectoryInfo outputDir, String projectPath) in d:\Source\nant-20080210T102007Z\src\NAnt.VSNet\ProjectFactory.cs:line 174
   at NAnt.VSNet.ProjectFactory.LoadProject(SolutionBase solution, SolutionTask solutionTask, TempFileCollection tfc, GacCache gacCache, ReferencesResolver referencesResolver, DirectoryInfo outputDir, String path) in d:\Source\nant-20080210T102007Z\src\NAnt.VSNet\ProjectFactory.cs:line 100
   at NAnt.VSNet.SolutionBase.LoadProjects(GacCache gacCache, ReferencesResolver refResolver, Hashtable explicitProjectDependencies) in d:\Source\nant-20080210T102007Z\src\NAnt.VSNet\SolutionBase.cs:line 392
   at NAnt.VSNet.SolutionBase..ctor(SolutionTask solutionTask, TempFileCollection tfc, GacCache gacCache, ReferencesResolver refResolver) in d:\Source\nant-20080210T102007Z\src\NAnt.VSNet\SolutionBase.cs:line 45
   at NAnt.VSNet.GenericSolution..ctor(SolutionTask solutionTask, TempFileCollection tfc, GacCache gacCache, ReferencesResolver refResolver) in d:\Source\nant-20080210T102007Z\src\NAnt.VSNet\GenericSolution.cs:line 36
   at NAnt.VSNet.SolutionFactory.LoadSolution(SolutionTask solutionTask, TempFileCollection tfc, GacCache gacCache, ReferencesResolver refResolver) in d:\Source\nant-20080210T102007Z\src\NAnt.VSNet\SolutionFactory.cs:line 63
   at NAnt.VSNet.Tasks.SolutionTask.ExecuteTask() in d:\Source\nant-20080210T102007Z\src\NAnt.VSNet\Tasks\SolutionTask.cs:line 454
   at NAnt.Core.Task.Execute() in d:\Source\nant-20080210T102007Z\src\NAnt.Core\Task.cs:line 186
   at NAnt.Core.Target.Execute() in d:\Source\nant-20080210T102007Z\src\NAnt.Core\Target.cs:line 247
   at NAnt.Core.Project.Execute(String targetName, Boolean forceDependencies) in d:\Source\nant-20080210T102007Z\src\NAnt.Core\Project.cs:line 917
   at NAnt.Core.Project.Execute() in d:\Source\nant-20080210T102007Z\src\NAnt.Core\Project.cs:line 869
   at NAnt.Core.Project.Run() in d:\Source\nant-20080210T102007Z\src\NAnt.Core\Project.cs:line 954

Please send bug report to nant-developers@lists.sourceforge.net.

