Visual Studio Community 2022, not seeing some xml comments

C Learner 180 0 Reputation points
2025-08-10T16:52:39.83+00:00

I have multiple projects within one solution. I use the functions of multiple other projects within another project. When i hover above the function of different projects, there's no xml comments (like describing how a function works, its inputs and outputs). It still shows when I hover above functions of this project.

I want to know how to see xml comments when hovering over a function belonging to a different project in solution.

Developer technologies | Visual Studio | Other
{count} votes

1 answer

Sort by: Most helpful
  1. Viorel 123.5K Reputation points
    2025-08-11T12:37:04.0366667+00:00

    XML Comments looks different, but simple comments should work too, however they need to be inserted into the .h files, such as graph_funcs.h.

    1 person found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.