Solved

Cannot Rename a Project Within Visual Studio?

Posted on 2015-02-23
3
108 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 29

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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Flash (http://en.wikipedia.org/wiki/Adobe_Flash) has evolved over the years to where it has become a masterful tool for displaying content screen.  It has excellent layout placement, UI precision as well as rendering capabilities. This, along with t…
In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

726 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