Solved

Cannot Rename a Project Within Visual Studio?

Posted on 2015-02-23
3
95 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!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
C# Offline Apllication 5 70
Export import database 4 51
Show/Hide ASP.NET controls with JQuery best practices 3 46
Store results in vb.net 3 20
A basic question.. “What is the Garbage Collector?” The usual answer given back: “Garbage collector is a background thread run by the CLR for freeing up the memory space used by the objects which are no longer used by the program.” I wondered …
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…

776 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