且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何以编程方式重命名解决方案文件和项目文件以及ASPX(.cs,.designer.cs,.aspx)

更新时间:2023-10-05 11:50:58

据我所知,没有公共API可以做到这一点.您可以手动重命名文件,然后相应地更新csproj文件的内容.
As far as I know there''s no public API to do this. You can manually rename the files and then update the contents of the csproj file accordingly.