Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Cannot Rename a Project Within Visual Studio?

Posted on 2015-02-23
3
99 Views
Last Modified: 2015-02-23
When I am trying to rename a project in Visual Studio from BCA.CRS.ISR.UI.Test to BCA.CRS.MJRS.UI.Test the project - BCA.CRS.MJRS.UI.Test - loads as unavailable.

This happens when I rename the root folder of the project to: C:\VSWorkspace2\BCA.CRS.MJRS\BCA.CRS.MJRS.UI.Test

When I leave the root folder to: C:\VSWorkspace2\BCA.CRS.MJRS\BCA.CRS.ISR.UI.Test  and rename the solution to BCA.CRS.MJRS.UI.Test  - the project loads fine for some reason.

Do you know of a solution to correctly rename a visual studio project from the folder level.

Thanks,

Dan
0
Comment
Question by:danielolorenz
3 Comments
 
LVL 28

Accepted Solution

by:
Pravin Asar earned 500 total points
ID: 40626069
Manual process (that is based on renaming folders and files) depends version VS you have.

Look at

http://www.codeproject.com/Articles/697108/Visual-Studio-Painlessly-Renaming-Your-Project-and 

or look at

https://vsprenamer.codeplex.com/
0
 
LVL 40
ID: 40626071
All the information about file names and paths is recorded in the project and solution files. If you rename anything from Windows Explorer (File Explorer), this information is not updated and Visual Studio cannot find the file when you try to reopen the project.

Always do all your file manipulations through the Solution Explorer. With right clicks, you have almost all the functions of Windows Explorer: renaming, deleting, creating folders and files. When you do that from the Solution Explorer, the project and solution files are updated to reflect the changes and you do not end up with that kind of problem.
0
 

Author Closing Comment

by:danielolorenz
ID: 40626445
Your resource works.  It was very good help/
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question