Hi NCrunch seems to be working pretty well in VS2012 except I'm getting I'm getting this odd build error when using the Split App Project Template.
Don't get any issues with the Blank or Grid App project templates.
Below seems to be the relevant error in the log. Any idea what might be the cause?
[20:47:22.8615-Core-38] Publishing Event: [TestTreeUpdatedEvent]
[20:47:22.8615-Core-38] Event [TestTreeUpdatedEvent] is being published on thread UIThread to subscriber: TestsWindow.#=q21r7whZgilxX7XuUfkXc5VauVewKohStZ$H6eNo76yU=
[20:47:23.7096-UI-1] ERROR (Internal): System.ArgumentNullException: Value cannot be null.
Parameter name: path2
at System.IO.Path.Combine(String path1, String path2)
at nCrunch.VSAddIn.UI.TestTree.TreeNodes.ProjectNode.GetTextOutput()
at nCrunch.VSAddIn.UI.TestTree.TestsWindow.#=qtqTzW2sFK4vEwTWm5iQ3AqW3U_MAHRhL52k_c6culaY=()
at nCrunch.VSAddIn.UI.TestTree.TestsWindow.#=qzUPQ6GwlQj1xXhT1sbTaKbaN$tjBAjMJBQ4zEeHbA_fJJTy$LNA3fKTeNxD$Wm$N()
at nCrunch.VSAddIn.UI.TestTree.TestsWindow.#=qlAvqsLygQxKMhbGpl0LZkPepIW5kcbDZ2PeVdOTBj3E=(Action #=qBExoIgfU3pha3PjkNRyp3w==)
BTW thanks for a fantastic tool.
NCrunch rocks!
Build/Test Issues
Build Failure with VS2012 Split App Project Template
Started by BenBtg on 9,107 views
Remco NCrunch Developer
#2613
08 Aug 2012 21:59 UTC
Hi Ben,
Thanks for posting! And I'm glad you're enjoying the tool!
This is an issue that appears irregularly in the 1.40b build. There is a certain combination of steps that can cause it to happen, although it likely isn't the main source of your build error. Essentially it's a failure of NCrunch to properly report the output text associated with the project you've selected in the Tests Window.
A fix has been prepared as part of the 1.41b build that is due out very soon.
Do you experience build issues consistently with the template you're using? Or does it happen only on occasion? You may be able to pull up the true error by turning up your 'Log Verbosity' in your global NCrunch configuration, then looking at the results of the build task in the Processing Queue.
Cheers,
Remco
Thanks for posting! And I'm glad you're enjoying the tool!
This is an issue that appears irregularly in the 1.40b build. There is a certain combination of steps that can cause it to happen, although it likely isn't the main source of your build error. Essentially it's a failure of NCrunch to properly report the output text associated with the project you've selected in the Tests Window.
A fix has been prepared as part of the 1.41b build that is due out very soon.
Do you experience build issues consistently with the template you're using? Or does it happen only on occasion? You may be able to pull up the true error by turning up your 'Log Verbosity' in your global NCrunch configuration, then looking at the results of the build task in the Processing Queue.
Cheers,
Remco
I experience the issue consistently with that standard template. For what its worth I think I have narrowed down the problem file to the LayoutAwarePage.cs found in the Split App template.
If I remove that file from my project NCrunch builds it fine. Something in that file cause NCrunch to fail, although I've not been able to narrow down any further what that may be.
If I remove that file from my project NCrunch builds it fine. Something in that file cause NCrunch to fail, although I've not been able to narrow down any further what that may be.
Remco NCrunch Developer
#2616
09 Aug 2012 02:43 UTC
Thanks for the analysis. Are you able to confirm the full name of the template you're using? Is it one that requires a Windows 8 installation?
Yes it is the "Windows Metro style\Split App (XAML)" template.
Yes it requires Windows 8
Strangely the Grid App temaplate which also includes the LayoutAwarePage.cs appears to work fine.
Yes it requires Windows 8
Strangely the Grid App temaplate which also includes the LayoutAwarePage.cs appears to work fine.
Remco NCrunch Developer
#2620
09 Aug 2012 10:24 UTC
Thanks for letting me know. Right now NCrunch doesn't officially support Metro style applications yet (these are still a very new addition and much of the documentation is still a bit light), but I'll make a note to check this template to see if it causes any problems when the support is properly added in future.
Remco NCrunch Developer
#2626
13 Aug 2012 03:49 UTC
For anyone interested, 1.41b has just been released with a fix for the ArgumentNullException issue described above. While this doesn't add support for the Metro template Ben described, it should improve the error handling in this area.
Post a reply
Log in to reply.