This project is read-only.


Project item not found (windows forms)


Hi ,
I realized that reviewpal cannot locate the code when I add a comment to a windows Form / control. Can you please check this out?

file attachments

Closed Oct 6, 2012 at 5:58 PM by chathurangakw
Fix incorporated.


sudarsanyes wrote Jul 15, 2012 at 8:04 AM

I went through the source code and guess I was able to fix the issue. Here is what I have done,

File Modified: \reviewpal\trunk\ReviewPal.Core\VSIDEHelper.cs
Lines Modified: Line number - 80
Snippet to include:
//Check if the parent itself matches before searching for the parent's children.
if (projectItem.Name == review.File)
psr.Invoke(projectItem, review);
found = true;
Reason: Previously, only the ProjectItem.Children were searched against the review file name but there could be cases where the ProjectItem itself be a review file. In such a case, open the parent ProjectItem.
Attachment: Has the latest code.

Hope this helps.

chathurangakw wrote Oct 6, 2012 at 4:10 PM

Incorporated the code update, and will be available with the update for supporting Visual Studio 2012, in a few hours ;)
Thank you very much for sharing the fix sudarsanyes.

wrote Oct 6, 2012 at 5:58 PM

wrote Feb 14, 2013 at 2:38 AM

wrote May 16, 2013 at 7:02 AM