Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2014-10-18
9
Medium Priority
?
917 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Introduction Hi all and welcome to my first article on Experts Exchange. A while ago, someone asked me if i could do some tutorials on object oriented programming. I decided to do them on C#. Now you may ask me, why's that? Well, one of the re…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.
The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.

722 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