Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Hyperlinks do not detect open document
MikeHanson
#1 Posted : Wednesday, July 25, 2012 6:40:14 AM(UTC)
Rank: Member

Groups: Registered
Joined: 3/23/2012(UTC)
Posts: 11
Location: St Albans, UK

Was thanked: 3 time(s) in 3 post(s)
Using NCrunch with VS 2010 and solution that includes both .NET and Silverlight projects.

To test my Silverlight code using standard NUnit library I use Project Linker to maintain a standard .NET 4 class library project that contains the same code. My unit tests are run against the linked project. This all works fine except when I click on a hyperlink in the test results window for a failing test, and the file is already open from the Silverlight project. Instead of activating the already open file (with or without a prompt, VS prompts) NCrunch opens a new editor window for the file and two get out of sync. That is I can edit in the new window and save but the changes are not detected by the already open editor, also I lose Resharper functionality in the newly opened window.

I try not to use the hyperlinks now and just read the file name and use R# to navigate to the relevant file, but it would be nice if this feature worked in my scenario.

Regards
Mike Hanson
Remco
#2 Posted : Thursday, July 26, 2012 12:02:47 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,123

Thanks: 957 times
Was thanked: 1286 time(s) in 1193 post(s)
Hi Mike -

Thanks for reporting this issue. The issue is caused by NCrunch failing to properly interpret build errors inside files that are specified in their project file using backwards relative paths (as would be the case if you are referencing files between projects).

A fix is being prepared as part of the upcoming 1.41b release. In theory this issue should only affect build errors and not test exceptions.


Thanks!

Remco
MikeHanson
#3 Posted : Thursday, July 26, 2012 5:59:08 AM(UTC)
Rank: Member

Groups: Registered
Joined: 3/23/2012(UTC)
Posts: 11
Location: St Albans, UK

Was thanked: 3 time(s) in 3 post(s)
Hi Remco

Thanks for the fast response.

That may well be the case, that it is only build errors where this happens. I will pay more attention and confirm it when I get to work this morning.

Also thanks for a great product, I am a much more productive agile developer for it.

Mike
1 user thanked MikeHanson for this useful post.
Remco on 7/26/2012(UTC)
Remco
#4 Posted : Monday, August 13, 2012 4:19:19 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,123

Thanks: 957 times
Was thanked: 1286 time(s) in 1193 post(s)
For anyone interested, NCrunch 1.41b has just been released including a fix for the above issue.
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.029 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download