![]() ![]() If your project is under source control, it may create issues if you rename files orÄirectories outside of source control (using Windows Explorer).zip file before renaming anything, as this method can create issues with source control. It's important to back everything up into a.This method does not remove any references from other projects to this file (an advantage over the Remove/add project file method, see my other answer below).You can make the directory within Windows Explorer match the project name within the solution.You can also see renaming solution manually or post which describes this manual process. Restart Visual Studio, and everything will work as before, but with the project in a different directory.sln file, edit all instances of Project1 to be Project2, using a text editor like NotePad. For example, with TortoiseSVN, right click on the file, select TortoiseSVN. If using source control, rename the folder from Project1 to Project2 using the functions supplied by source control.If not using source control, rename the folder from Project1 to Project2 using Windows Explorer.Imagine you want to rename directory Project1 to Project2.This is why step 2 (backup) is so important. This method does not suffer from the problems in the Remove/add project file method below (references disappearing), but it can result in problems if your project is under source control (see notes below). This method is entirely aimed at renaming the directory for the project, as viewed in Windows Explorer. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |