How to safely rename a class in Common project (shared by multiple solutions)

。_饼干妹妹 提交于 2019-12-11 06:24:49

问题


I have a "Common" project shared by multiple solutions.

If I rename a class in the Common project, Visual Studio will refactor all code that uses that class, but on for the opened solution. Is it possible to force Visual Studio to refactor all solutions that use Common project?


回答1:


You would need to have a separate solution that included all projects that referenced it.



来源:https://stackoverflow.com/questions/5304017/how-to-safely-rename-a-class-in-common-project-shared-by-multiple-solutions

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!