Thanks,
I was a little worried that changing the file names themselves may affect something (perhaps a file
lists the other files, so would reference non-existent files and cause an error) but if this isn't
the case, it looks like the solution.
Jay
"Laurent Bugnion [MVP]" <galasoft-(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
Hi,
Jay wrote:
> What's the recommended way to change file/folder names within a project?
>
> I want to change the solution name from (say) sol1.sln to sol2.sln, and also everything else named
> sol1.* (eg sol1.suo, the folder sol1, and within this folder, sol1.csproj, and also, files within
> Debug and Release folders)
>
> Also, how do I change other names (eg .cs files)?
>
> I'm using VS C# 2005 Express.
All the Solution and CSPROJ files are text files. The only non-text file
is the SUO file, but this stores only user information and can actually
be deleted without too many risks.
So in short: Search-and-replace all folder names, file names and all
file content, delete the SUO file, and you should be OK.
HTH,
Laurent
--
Laurent Bugnion [MVP ASP.NET]
Software engineering, Blog:
http://www.galasoft-LB.ch
PhotoAlbum:
http://www.galasoft-LB.ch/pictures
Support children in Calcutta:
http://www.calcutta-espoir.ch