Skip to main content
Filter by
Sorted by
Tagged with
1 vote
0 answers
298 views

I have a project with tree like structure written in C#. I need to list all *.cs files in plain list with comments. For example: MyProject Models Model1.cs Model2.cs Controllers Controller1.cs ...
Nick's user avatar
  • 49
1 vote
2 answers
892 views

When I use the "normal" "Publish-tool" built into Visual Studio for ASP.net, it seems like it does not include XML-comment-files that belongs to dependent projects/assemblies. For instance, lets say ...
Inx51's user avatar
  • 2,139
0 votes
0 answers
199 views

How do you document members of members in C# XML-Comments with the <see cref=".." tag? I'm trying to document them the same way as type members, but it's giving me the warning "XML comment has ...
blenderfreaky's user avatar
1 vote
1 answer
235 views

I'm using copyright comment at the beginning of every file but there is an annoying issue with xml files in Android Studio. Using automatic code format option (CTRL+ALT+L) places comment on the first ...
bio007's user avatar
  • 992
0 votes
1 answer
55 views

I need some help. I'm trying to create an XML with this query: WITH XMLNAMESPACES ('Envelope' AS soapenv) SELECT * FROM CrearViaje4 JOIN transporte ON CrearViaje4.Cod_viaje = transporte....
Lopez Lopez's user avatar
1 vote
0 answers
77 views

There is XML Documentation support for Visual C++ with IntelliSense and all for some time now. Navigation from XML documentation, peek help etc. does not work though. Coming from C#, I dearly miss ...
ktnr's user avatar
  • 245
2 votes
1 answer
200 views

Let's say I have the following code: Public Sub New(num As Integer) End Sub ''' <summary> ''' <see cref=""/> ''' </summary> Public Sub DoSomething() End Sub What do I put between ...
NetherGranite's user avatar
4 votes
1 answer
2k views

I have used XML comment on a property which is a type of List. However when I hover my mouse to that property, Visual Studio shows it as List<T>. When I build the documentation with docFx, it ...
Unknown's user avatar
  • 1,288
0 votes
1 answer
599 views

I'm setting up xml comments through properties in project in solution. I want this comments to be seen in other project in same solution. However project and xml being refereenced in bin near .exe isn'...
Przemysław Lunic's user avatar
1 vote
1 answer
2k views

I'm self-hosting Swagger documentation for my Web API 2 API with Swashbuckle.Core 5.6.0 I'm enabling Swagger in my Startup.cs as follows config.EnableSwagger(c => { c....
Stephan Steiner's user avatar
2 votes
1 answer
158 views

Is there a way to change the xml description of a property in a derived class without rewriting getter and setter declaration? Example: public abstract class BaseClass { /// <summary> ///...
PrinceOfBorgo's user avatar
0 votes
0 answers
199 views

I'm trying to add a root comment to an XML file that doesn't have one. I'm close, but can't get it in the root/prolog area and instead can only get it injected after the first element. (preloading [...
bcurran3's user avatar
1 vote
0 answers
116 views

With lxml's API it's possible to access preliminary elements before the root such as processing instructions and comments by querying the sibling (and its siblings in turn) of the root element: >&...
funky-future's user avatar
  • 4,057
15 votes
1 answer
2k views

When asking around for the conventions of documentation comments in C# code, the answer always leads to using XML comments. Microsoft recommends this approach themselves aswell. https://learn....
user avatar
4 votes
1 answer
347 views

I followed this MSDN guide for commenting my code. I discovered i can use external files to achieve the same result in a more clean way. However, my IntelliSense don't show those comments on Visual ...
Newbie's user avatar
  • 41
0 votes
1 answer
929 views

I want to be able to put a formatted mathematic equation into my XML comments, is there a plugin to allow me to do this or maybe some other way? I am currently using this: /// <summary> /// e^-...
user avatar
6 votes
1 answer
994 views

If you hover over something (class, method,...) that's got xml documentation (///<summary></summary>) in VS17 (15.6.2), you get this little popup that shows the comments properly formatted....
Neph's user avatar
  • 2,013
2 votes
1 answer
784 views

I have generic class public class Range<T> where T : IEquatable<T> { ///<summary> /// Minimum value of Range<T> ///</summary> public T Min; } and if I ...
user avatar
0 votes
0 answers
83 views

I generated xml-comments to a method with Ghost doc /// <summary> /// Determines whether [is lv class identifier] [the specified class identifier]. /// </summary> /// <...
char m's user avatar
  • 8,386
0 votes
0 answers
168 views

Using the following code, I'm successfully reading XML files. However when a comment appears in the middle of a node, the reader is discarding the remainder of the node. For example: <text>...
srodden's user avatar
  • 57
17 votes
2 answers
25k views

In my codebase I have a method defined in a base class, the base class is inherited, but the method is not yet overridden. This method will very likely be overridden in the future to add to the base ...
Rob's user avatar
  • 2,676
0 votes
3 answers
745 views

I have a Visual Studio C# project with XML documentation comments. I get a .xml file with <summary>, <param>, <returns> and <example> members. The text I put inbetween the <...
Simon's user avatar
  • 125
0 votes
0 answers
44 views

In my interface I have the following method signature: ServiceResponse<IDictionary<int, string>> Dictionary(DictionaryRequest request); I'm trying to add XML comment for that method like: ...
Robert N. Dean's user avatar
0 votes
1 answer
1k views

I am using GhostDoc and Visual Studio 2017. Now, if I have a method like this public string Foo() { ... } I can normally use GhostDocs "Document this" to generate an XML comment for the relevant ...
Thomas Flinkow's user avatar
1 vote
0 answers
503 views

I have 2 class libraries projects A and B, and A depends on (has a reference to) B. In B I have a class to which I want to add XML comments, and mention a class in A using a <see cref="ClassInA"/&...
Arnon Axelrod's user avatar
1 vote
3 answers
85 views

I'm reading Core Java vol. 2 by Cay Horstmann, and in the chapter about XML where he talks about XML comments he says: Comments should only be information for human readers. They should never ...
Pavel's user avatar
  • 1
12 votes
3 answers
11k views

I created a Web API using ASP.NET Core and used swagger to create documentation. I use the XML comments on my API endpoints to provide additional information in the documentation. The swagger ...
devC's user avatar
  • 1,454
4 votes
2 answers
2k views

When collapsing the XML comments for methods etc. It used to be that the summary was hidden. As I would like it to be. Then in VS2015 they broke this. I asked a similar question about VS2015 and got a ...
ispiro's user avatar
  • 28k
0 votes
0 answers
287 views

I'm writing a script that replaces and delete some commented lines but the problem is the .xml file got more than only one thing which is commented and I only have to uncomment one of these. It would ...
Manuel Hedinger's user avatar
0 votes
1 answer
2k views

I would like to comment and un-comment, selected element in XML. xml looks like this. <ls> <lo n="x" add="b" l="D"> <myconf conf="rf"/> <!-- <myconf ...
tgcloud's user avatar
  • 887
1 vote
1 answer
1k views

I have a common class library that is packaged as it's own nugget library. it's nuspec looks like the following xml: <?xml version="1.0"?> <package xmlns="http://schemas.microsoft.com/...
Nathan Tregillus's user avatar
0 votes
0 answers
120 views

I have a solution that has two projects, and a nuget package: - WebApp.csproj - CommonClassLibrary.csproj - nugetClassLibrary.nuget The WebApp has a project reference to CommonClassLibrary.csproj, ...
Nathan Tregillus's user avatar
0 votes
1 answer
1k views

I would like to add some comments to an XML file produced via JAXB, but as far as I can tell, this doesn't seem to be possible. The file that I'm producing is expected to be hand modified by humans ...
NateW's user avatar
  • 994
1 vote
2 answers
267 views

I am implementing Xamarin iOS Bindings Library to bind an Objective-C framework. I would like it to contain XML documentation comments if it's even possible. Is there any way to grab them from ...
Olexander Ivanitskyi's user avatar
0 votes
1 answer
2k views

So I did some searching on google but did not find the answer or maybe did not understand the answer? I would like to write some comments into my code so even after release it will be still visible ...
daralim's user avatar
  • 183
9 votes
3 answers
4k views

I would like to add comments at one cell, So.. I did: ... ExcelPackage package = new ExcelPackage(new MemoryStream()); var ws = package.WorkBook.WorkSheet[1]; ws.Cells[1, 1].AddComment("Lot ...
Pan's user avatar
  • 171
7 votes
1 answer
1k views

What does the T: part mean in the use of the cref attribute here? <see cref="T:System.Windows.Form.Control"/> and <see cref="System.Windows.Form.Control"/>
Amal's user avatar
  • 586
4 votes
4 answers
6k views

When I used to use Visual Studio I could use /// to declare a summary of my method at the and it would autogenerate all the tags and add a line for any params however after installing Visual Studio ...
Antonio Gravano's user avatar
0 votes
0 answers
1k views

From the Ahoy repository's examples (see the README), in the basic example, they do use XML Comments to generate some metadata for Swagger to serve up. However, they only configure it if the app is in ...
steamrolla's user avatar
  • 2,491
5 votes
0 answers
359 views

For just about all languages I program in, I am often annoyed by the width of the tooltips caused by XML auto-documentation comments. In some cases I started prepending each line with a <para />,...
Abel's user avatar
  • 57.5k
0 votes
1 answer
833 views

I am currently struggling to comment an existing line with JDom, best I would like to comment an entire node. SAXBuilder jdomBuild = new SAXBuilder(); jdomDoc = jdomBuild.build(fileLocation); ...
B_PRIEUR's user avatar
  • 158
0 votes
1 answer
61 views

I have a class (written in C#) with some documentation comments: /// <summary> /// Abstract class defining a tolerance-based method for Equals. /// Tolerance must be defined in a derived class ...
Kjara's user avatar
  • 2,956
3 votes
2 answers
835 views

I'm referring to the snippet that's used when typing /// before a method. I've found something for JavaScript (C:\Program Files (x86)\Microsoft Visual Studio 14.0\JavaScript\Snippets\1033\XML ...
ispiro's user avatar
  • 28k
23 votes
5 answers
15k views

I understand that remarks tag is used to provide additional information about the class but it is not displayed in intellisense while hovering / calling that class. I would like to know Where exactly ...
Kalyani Ramamurthy's user avatar
0 votes
0 answers
33 views

I'm trying to switch a project from Visual Studio to Eclipse. In Visual Studio you could comment functions and parameters with xml comments. These comments where then shown in the code completion. ///...
LukiLeu's user avatar
  • 11
2 votes
1 answer
204 views

I'm having trouble using the code examples within sandcastle. I want to be able to have four examples in one tab control however I am unsure how to do this. /// <summary> /// AnimatedExpander ...
LiamHarries's user avatar
0 votes
0 answers
81 views

I have an API project that uses .Net's XML documentation. This results in MyApp.dll getting a MyApp.xml file with all the code comments, which looks something like this: <?xml version="1.0"?> &...
Keith's user avatar
  • 157k
5 votes
4 answers
23k views

How to comment out strings of code in SOAP UI editor using shortkeys? I have SOAP UI 5.2.1.
Bilow Yuriy's user avatar
  • 1,329
0 votes
1 answer
134 views

I am looking for a way to build Help files that include custom XML elements for a large project. I want to add my own element similar to the Summary element and have the help files include it. I have ...
SimperT's user avatar
  • 2,867
2 votes
1 answer
352 views

So, I have a an action that takes a callback and performs it. It looks a little bit like this. Is there anything I can fill in into the question mark area (or elsewhere) to document the details of the ...
Sidney's user avatar
  • 730

1
2
3 4 5
7