Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

visual studio 2013 ultimate triple slash for xml comments doesn't work

Posted on 2014-10-18
9
Medium Priority
?
959 Views
Last Modified: 2014-10-25
I have just installed visual studio 2013 ulitimate on my laptop.  I have found that the /// for xml comments won't work.

I found the tools->options->text editor->c#->advanced->generate xml comments for /// option is checked.  Don't
know what else to look for, but I really need this option.  help!!
0
Comment
Question by:dhenderson12
9 Comments
 
LVL 31

Expert Comment

by:hnasr
ID: 40389731
Try to enter /// just before a method declaration or a type declaration. This is an example using visual basic. in C# use /// instead of '''
Public Class Form1

    Private Sub Form1_Load(sender As Object, e As EventArgs)

    End Sub
End Class

Open in new window


''' <summary>
''' 
''' </summary>
''' <remarks></remarks>
Public Class Form1

    ''' <summary>
    ''' 
    ''' </summary>
    ''' <param name="sender"></param>
    ''' <param name="e"></param>
    ''' <remarks></remarks>
    Private Sub Form1_Load(sender As Object, e As EventArgs)

    End Sub
End Class

Open in new window

0
 

Author Comment

by:dhenderson12
ID: 40390125
thanks for the reply.  I know how to use it;  I use it in my code all the time, in other installations of visual studio.  In this particular installation it does not work.  All the options are checked but typing /// does nothing!
0
 
LVL 70

Assisted Solution

by:Éric Moreau
Éric Moreau earned 668 total points
ID: 40390133
have you tried to repair your installation?
0
NEW Veeam Backup for Microsoft Office 365 1.5

With Office 365, it’s your data and your responsibility to protect it. NEW Veeam Backup for Microsoft Office 365 eliminates the risk of losing access to your Office 365 data.

 

Author Comment

by:dhenderson12
ID: 40390343
yes.  repaired, un-installed, and re-installed.  it's a new laptop built from a disk image;  we have several other laptops using the same image that don't have this problem.  I may need to get the ma chine re-imaged, but I was looking at other options first.
0
 
LVL 31

Assisted Solution

by:hnasr
hnasr earned 664 total points
ID: 40390801
" In this particular installation it does not work."

Create a new small application in two installations.

App1 on installation1
App2 on installation2
Check
Swap Apps between installations.
Check
Comment back on the findings.
0
 

Author Comment

by:dhenderson12
ID: 40391985
hnasr,  the problem is  not about the application!  I working on existing apps.
0
 
LVL 31

Expert Comment

by:hnasr
ID: 40392128
What I wanted after checking, is to upload that demo applications if:
App1 and App2 work on installation1, but not on Installation2.

Otherwise,
Have an image of existing machine.
Then have the machine restored from a previous image.
0
 
LVL 35

Accepted Solution

by:
sarabande earned 668 total points
ID: 40392622
not only the options need to be enabled but also the project build properties such that the /doc compiler option was enabled. you may object that the project works with other installations, but you also need to make sure that the same build configuration is used and that intellisense is working correctly beside of the triple slash..

see http://msdn.microsoft.com/en-us/library/vstudio/3260k4x7(v=vs.120).aspx

so, check the compiler commandline whether the /doc option is used for compilation. also make sure that the intellisense is working correctly with your environment. that means if you add a valid xml documentation file to your source, intellisense would use the file for info on hovering. so a possible cause why intellisense is not correctly working is that there is a corrupt xml file which could not processed by intellisense and makes intellisense stop.  

to be absolutely sure that the triple slash is generally not working, you should create a new project and check the feature with that.

Sara
0
 

Author Comment

by:dhenderson12
ID: 40404106
well, it turns out that the laptop had not had any of the windows updates installed!  after installing the updates (232 of them!) everything works  fine.  thanks for your comments.
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…

783 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question