Error message on Namespace Summaries window

Topics: Developer Forum, Project Management Forum
Jun 27, 2008 at 3:27 PM
Hi.

During the typing of a summary for one of my Namespaces I left a reference without an ending quote, as shown below:
<see cref="GenericValidation />

When I tried to compile the SHFB project I received the error:
BUILD FAILED: Error generating namespace summaries: There is an unclosed literal string. Line 1, position 123.

Then I tried to reopen the Namespace Summaries window to correct the problem, but to no avail, since I received another error:
Unable to build project to obtain API information. Please perform a normal build to identify and correct the problem.

After some tries, I found that I can open the SHFB project file with Notepad. I made the correction on the wrong line and could open the Namespace Summaries window without problem.

In a situation like this, what is the correct way to solve the problem?

Regards,
rferj
Coordinator
Jun 27, 2008 at 4:17 PM
Edited Jun 27, 2008 at 4:21 PM
It does a partial build to gather the namespace information.  Unfortunately, the generation of namespace summary info is part of the partial build so it can't get into the dialog.  I'll fix it so that errors in this step in a partial build don't prevent it from finishing or perhaps just skip this step since I don't think it is needed in that context.

Work item: http://www.codeplex.com/SHFB/WorkItem/View.aspx?WorkItemId=17185

Eric
Jun 27, 2008 at 6:35 PM


EWoodruff wrote:
It does a partial build to gather the namespace information.  Unfortunately, the generation of namespace summary info is part of the partial build so it can't get into the dialog.  I'll fix it so that errors in this step in a partial build don't prevent it from finishing or perhaps just skip this step since I don't think it is needed in that context.

Work item: http://www.codeplex.com/SHFB/WorkItem/View.aspx?WorkItemId=17185

Eric



Ok, thanks Eric.

rferj