Share via

Refactoring Project Programmatically

essamce 621 Reputation points
2021-03-25T21:36:05.69+00:00

hi
is there a way to refactoring the entire project programmatically, at least renaming all methods and properties ?

Developer technologies | C#
Developer technologies | C#

An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.

0 comments No comments

2 answers

Sort by: Most helpful
  1. Karen Payne MVP 35,606 Reputation points Volunteer Moderator
    2021-03-25T23:30:38.207+00:00

    There is nothing in standard Visual Studio for this. From my experience Resharper (paid for VS extension) does this extremely well and much more which I've been using for years. Have no experience with free extensions such as Roslynator which is free from the marketplace, might want to check it out.

    Was this answer helpful?

    1 person found this answer helpful.

  2. Timon Yang-MSFT 9,611 Reputation points
    2021-03-26T01:59:37.487+00:00

    Do you want to rename all references to a method or property in the project at once?

    If yes, please check the documentation:

    Rename a code symbol refactoring


    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Was this answer helpful?


Your answer

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