Skip to main content
Filter by
Sorted by
Tagged with
3 votes
5 answers
187 views

I wrote some server providing XML output with some debugging comments, like this (just a short extract): <Result> <Channel>DB1.PagesFreeMinPct</Channel> <Value>55.578&...
U. Windl's user avatar
  • 4,748
12 votes
0 answers
926 views

I can declare a C# positional record like this: public record Box(double Capacity); which results in the definition of a record class named Box with a property named Capacity, as well as a primary ...
spdtech's user avatar
  • 121
0 votes
2 answers
234 views

I would like to get method comments that are in a manager class that is directly called by a controller to show up in Swagger UI. The only way I know of to do that is to copy and paste the comments ...
Nelson Nyland's user avatar
0 votes
1 answer
67 views

I have some base class and multiple classes inheriting from it. Those derived classes usually won't override the default constructor. Nevertheless, I'd like to change the documentation of that default ...
Timur Kelman's user avatar
5 votes
1 answer
976 views

In C# it is possible to add doc comments to methods. In the description it's possible to put a reference to another type using the <see cref="..."/> tag. When putting a generic type in ...
Martin Brown's user avatar
  • 25.5k
2 votes
3 answers
2k views

I know that similar questions have been asked here but I'm truly at a loss. I currently have around 5ish .csproj files as a part of a web application that all contain XML comments. Proj1 is the only ...
Kaila Williams's user avatar
1 vote
1 answer
98 views

I know that i need to add ///<summary> to have mouse over tips on functions and variables but is there a way to make this happen only with the // ? In the pre-built default functions i always ...
Steven's user avatar
  • 69
6 votes
1 answer
1k views

I have created my own nuget package: https://www.nuget.org/packages/Chia-Client-API/ In the code of the package, I documented all functions with xaml comments: /// <summary> /// returns all ...
julian bechtold's user avatar
1 vote
1 answer
348 views

Example: When i rename the following function public void Foo(){} to public void Bar(){} Then visual studio changes all constant strings, that contain the word "Foo" and replaces "Foo&...
Canabale's user avatar
  • 444
1 vote
1 answer
446 views

Given the following code: class FixedWidthReader<T> { public T? Item { get; private set; } /// <summary> /// Populates <see cref="Item"/>. /// </summary&...
Jonathan Wood's user avatar
0 votes
2 answers
156 views

XML i am parsing: <List> <Item> <Price> <Amount>100</Amount> <Next_Item> <Name>Apple</Name> ...
Anonymous's user avatar
0 votes
0 answers
163 views

In C# XML comments, we have the <exception> tag to say that a method throws a particular type of exception. What is the best way to tell the library users that a method does not throw any (...
Sergey Slepov's user avatar
0 votes
0 answers
655 views

I am editing xml files, I ran into the problem that when changing a file in a python script, its structure is lost. Xml file: <?xml version="1.0" encoding="UTF-8"?> <main&...
Fedor March's user avatar
8 votes
2 answers
5k views

As pictured, the "param" part of the summary is not showing on mouse over panel. Should I expect them to be there or is the "param" functionality not working as I think it should? ...
pks's user avatar
  • 175
0 votes
1 answer
478 views

I have an interface with XML comments on namespace NamespaceName.Core.Services { public interface ITransaction : IDisposable { /// <summary> /// Sends message into the ...
imsan's user avatar
  • 469
3 votes
0 answers
292 views

C# function with out parameter. public static bool theFunction(string param1, out ulong param2) { param2 = 103206309L; return true; } How is the out param2 properly denoted in an XML comment? ...
Robert Achmann's user avatar
0 votes
1 answer
320 views

I was writing some XML comments for some variables and discovered that if I have a short summary block, when I hover over the variable I get tooltip with that summary. However, if I have a long tag ...
Adrian's user avatar
  • 11.1k
0 votes
1 answer
1k views

I am trying to collect information from the World Bank. In particular, data from this website. https://microdata.worldbank.org/index.php/catalog/3761/get-microdata The "DDI/XML" link ...
Kah's user avatar
  • 532
0 votes
1 answer
385 views

I have two Win10 PC, both with the same installation VS2019 Enterpsrise(Version 16.11.15). Almost the same extensions. But in one VS installation, quick action menu and it's options look like on the ...
KeiserSoze's user avatar
0 votes
0 answers
162 views

I am using this code to load XML that has the potential for errors (human edited). $xmlReaderSettings = [System.Xml.XmlReaderSettings]::new() $xmlReaderSettings.CloseInput = $True $xmlReaderSettings....
Gordon's user avatar
  • 7,027
0 votes
1 answer
1k views

I am updating the xml file using python xml module and I want to preserve all the comments, using insert_comment variable is preserving the comments inside root element but removing outside/end of the ...
Aryaman Gupta's user avatar
1 vote
1 answer
2k views

I have a class of extension methods which I want to have good XML comments for. An example function looks like this /// <summary> /// Does something cool and assigns the result to <paramref ...
Jay's user avatar
  • 3,006
3 votes
1 answer
922 views

public class MyClass { /// <summary> /// My awesome class /// </summary> /// <param name="i_a">This is test of A</param> /// <param ...
rick's user avatar
  • 587
1 vote
0 answers
2k views

I build a webpack project, to compile my .vue files. Then I write some HTML comments in the .vue file, and I build file using webpack, while the mode is "production". But when I browse the ...
quanxin's user avatar
  • 11
0 votes
1 answer
191 views

I am trying to update API documentation for REST APIs. Currently, I have a C# Asp.net Web API code and Swashbuckle.AspNetCore. I am editing and adding XML comments in C# using Visual Studio to update ...
GayathriS's user avatar
5 votes
0 answers
1k views

i have seen a similar question here but only with code behind: Adding XML documentation for Razor components am I forced to use code behind for a razor component to add Xml Documentation to it?
Ivan Ambla's user avatar
0 votes
0 answers
38 views

Does anyone know of an easy way for calculating what percentage of types, methods, and properties in a C# project are decorated with XML comments? I am considering ways of improving on our code ...
kamilk's user avatar
  • 4,109
2 votes
1 answer
876 views

Before this gets marked as duplicate, I know this question has been asked in the past [1] [2], but the answers are extremely outdated and only contain workarounds and 3rd party tools. The exact ...
DMX David Cardinal's user avatar
0 votes
2 answers
781 views

I'm writing a library with source code common to the server and the client. The problem I have is inside XML comments, where sometimes the client and server documentation differs, something like: ///...
Patrick8639's user avatar
4 votes
1 answer
665 views

I am using Visual Studio for a couple of years now and we have always just written all the XML comments for our C# code manually. But lately I recognize the need for a way to centrally maintain ...
Daniël Tulp's user avatar
  • 1,883
2 votes
1 answer
321 views

I would like to remove a comment tag from a XmlDocument using Inno Setup. My xml looks approximately like this. <?xml version="1.0" encoding="utf-8"?> <configuration> ...
Markku Rintala's user avatar
0 votes
0 answers
81 views

XML comments do not show up when an object instance is defined using WithEvents; however, comments will show up for everything else. How do I resolve this? EDIT ''' <summary> ''' Represents a &...
John89's user avatar
  • 57
2 votes
1 answer
2k views

This is a picture of the code config file path of XML comment file. When I deploy in Azure, I have a problem that It can't find this XML file
Kelvin's user avatar
  • 199
-4 votes
1 answer
204 views

Reproduce as follows: Create a WPF application (.Net 4.8). Click on the codebehind tab. Hover over the class name (MainWindow). You will now see a popup saying MainWindow instead of saying ...
ispiro's user avatar
  • 28k
0 votes
1 answer
403 views

In Visual Studio, you can write /// to create an XML documentation comment above a C# method or class. The problem is that you have to manually type three slashes, which is too much for some ...
Kevin Mohar's user avatar
14 votes
1 answer
5k views

I'm currently documenting my C# code and would find it useful to include a code block that directly shows how a piece of code should be called. I use the <code> tag that is embedded into the ...
feO2x's user avatar
  • 5,778
0 votes
1 answer
470 views

I want to add a commentline inside a xml file above the node using xmlstartlet <?xml version="1.0" encoding="UTF-8"?> <bookstore> <book> <title lang=...
GJF's user avatar
  • 67
1 vote
1 answer
42 views

I have a license file with a lot of commented out fields that I need to make into variables. The different lines may or may not exist, so I need to find out if the line exists, and if it does, turn ...
Christopher Cass's user avatar
2 votes
2 answers
4k views

is it possible to configure an .editorconfig file to display warnings/errors on items with missing XML documentation? It would be great to see such warnings in the editor. Thanks in advance.
wk-done's user avatar
  • 977
1 vote
1 answer
854 views

Should I add punctuation marks (e. g. ".") in my c# xml comments? In the official Microsoft xml comment documentation there is now statement. Also you can see in that in this documentation ...
sampa's user avatar
  • 669
4 votes
1 answer
5k views

I'm trying to have different colors of text in the XML doc comment like how the word true, false and Window are in blue and green colors in the picture below. I tried decompiling the code that had ...
Mohammadios's user avatar
15 votes
3 answers
4k views

If I have a positional record like this: public record Version(int Major, int Minor); it seems that I can only provide a <summary> documentation, like this: /// <summary> /// Version ...
Danko Durbić's user avatar
1 vote
1 answer
492 views

I have a Xamarin Forms project (C#) that I am working on in VS2019 (16.8.1) and I have noticed that if I add XML comments to the properties of classes within the project they are not then showing up ...
Martin Robins's user avatar
1 vote
2 answers
272 views

I am using lxml in an attempt to to output the following xml code: <?xml version="1.0" encoding="UTF-8"?> <root> <students> <!-- 学生信息表 ...
Dogs He's user avatar
  • 13
1 vote
0 answers
72 views

Is there a difference between using the C# Description attribute and XML documentation comments (triple-slash comments)? When should I use either one? Thanks. /// <summary> /// This is my class. ...
Stout's user avatar
  • 543
0 votes
1 answer
1k views

In vb.net I can write an XML documentation by using some tags, like the following '''<summary> ''' Hello there! '''</summary> In Java, I simply can export my Javadoc documentation in a ...
Calaf's user avatar
  • 1,186
0 votes
1 answer
236 views

I'm trying to find a service, library, utility, whatever that converts XML to YAML and includes comments. It's easy to find a lot of XML to YAML converters, but I can't find one that includes XML ...
Ray Dixon's user avatar
1 vote
1 answer
401 views

I need to link a file in a comment so that others can click it and the explorer opens the folder or the file opens I need something like this: /// <summary> /// Does something see file://$(...
MidnightCommander's user avatar
1 vote
0 answers
281 views

I have a .NET Core web app. I am using multiple <include file=... tags in comments in my code and I want to store the 'filename' value as a constant and pass it to each of my tags to get rid of ...
Ruslan Antoshkin's user avatar
2 votes
1 answer
176 views

I am building another web server "web2", which must have the same configuration as web server "web1" So after installing some software I need to edit the "web.config" on the "web2" server to match ...
Jose Luis Bazo's user avatar

1
2 3 4 5
7