Solved

Cannot Rename a Project Within Visual Studio?

Posted on 2015-02-23
3
134 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
[X]
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
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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

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…
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…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

717 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