Eric,
 
Can you send me a small repro for this issue?
 
Thanks!
 
Gert 
  _____  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Eric
Fetzer
Sent: woensdag 16 april 2008 23:47
To: NAnt Developers
Subject: [nant-dev] Upgrade to latest nightly build


I upgraded to try out the 3.5 stuff again.  Well, in my build, I start with
a 2.0 project build and it no longer works.  Right before building this
project, I set: <property name="nant.settings.currentframework"
value="net-2.0"/>.  With the 86rc1, this builds fine.  With 2/10 nightly, I
get the 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:lin
e 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:l
ine 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 [EMAIL PROTECTED]
 
 
 
 
Any help?
 
Thanks,
Eric

  _____  

Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try
<http://us.rd.yahoo.com/evt=51733/*http://mobile.yahoo.com/;_ylt=Ahu06i62sR8
HDtDypao8Wcj9tAcJ> it now.
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to