When using XML documentation comments in my code if i'm changing the comment text it's not updating it and display the old comment. any way to fix it ?

Chocolade 536 Reputation points
2022-09-11T18:50:00.72+00:00

I have this method :

     /// <summary>   
    ///  Test 123  
    /// </summary>  
    public void StartFade(bool isIn, bool autoSwitch)  
    {  
        if (canvasGroup != null)  
        {  
            if (_currentRoutine != null)  
            {  
                if (_currentDirection != isIn)  
                {  
                    StopCoroutine(_currentRoutine);  
  
                    _currentRoutine = StartCoroutine(Fade(canvasGroup, isIn, autoSwitch));  
                }  
            }  
            else  
            {  
                _currentRoutine = StartCoroutine(Fade(canvasGroup, isIn, autoSwitch));  
            }  
        }  
    }  

And using it for example in another cs file :

public void HoverOut()  
    {  
        fader.StartFade(false, false);  
    }  

when i type : StartFade(

i see that :

239853-comment1.jpg

but this is the old first comment it should show now Test 123

i tried to rebuild the solution project i tried to change from using visual studio community 2019 to visual studio community 2022 and still it's not refreshing/updating to the changed comment.
i tried to google for a solution but couldn't find any.

Developer technologies | Visual Studio | Other
Developer technologies | C#
{count} votes

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.