Rename a .NET Project and related DLL
Posted on 2004-09-22
I am just migrating to .NET from Access VBA.
I created an ASP.Net project using an odd name - WebApplication101.
Now I want to change the name to SBS.Image.
My trouble is renaming the DLL that gets created when I build the project. It is still named WebApplication101.DLL.
Perhaps there is a better way, but this is what I have done.
1. Rename the Web Share through IIS.
2. Renamed the Solution and the Project and edited SBS.Image.sln so it points to the new web share name.
3. Searched all files in the project and changed all references to WebApplication101 so they now read SBS.Image.
4. Deleted WebApplication101.dll and WebApplication101.pdb from the Bin folder.
When I Build or Rebuild the project (SBS.Image) it still creates WebApplication101.dll rather than SBS.Image.dll.
Is there a way to create SBS.Image.dll, short of starting a new solution/project and importing everything?