Thursday, October 28, 2010

A cool tool to rename your .Net project

Have you ever tried to rename your solution, project, namespace? If you have ten projects in your solution and you try to rename all projects and solutions, it will be nightmare for you. It’s a totally boring work. Once, I faced this scenario. My solution had 21 projects. Instead of renaming the projects , namespaces manually, I built a tool which did the work for me.

clip_image002

This tool is easy to use. Say, you have projects named; MyProject.DAL, MyProject.Buiness, MyProject.Common, MyProject.Model etc. You want to rename MyProject into HelloProject. In order to do this, write “HelloProject” onto new solution Name text box, “MyProject” onto Old Solution Name text box and locate the folder of your project.

Consider the following things while using this tool:

  • · Keep a backup project.
  • · You might get an error if you don’t have permission to rename each file and folder. In spite of getting error, you can open the rename solution. The tool should change the necessary files and folders.
  • · After opening the solution, clean it and rebuild it.

You can download the source code from here.

Happy Programming!

2 comments:

Saraf Talukder said...

Great tool. It helped me a lot and saved me a lot of time. Thanks.

Unknown said...

I got the new the king casino no deposit bonus【Malaysia】
출장마사지 William】pinterest in aprcasino 2021, communitykhabar https://vannienailor4166blog.blogspot.com/ the king casino no deposit bonus,【WG98.vip】⚡,taylorlancer,taylorlancer,golfking. worrione