Solved

VB2010 change project name etc

Posted on 2010-11-19
4
791 Views
Last Modified: 2012-08-13
Hey,

I started off with my project being "Book1" but now I have changed it to "Book2".

I have changed the assembly name, root namespace etc and all works fine.  

What I am needing to change is the following:
Visual Studio 2010\Projects\Book1 to Visual Studio 2010\Projects\Book2

Im not sure whether I can just rename them without causing any errors.

Also using Application.CommonAppDataPath brings up Book1 in its path, instead of Book2.

How can I completely change everything to Book2?

Thanks!
Jessee

0
Comment
Question by:Letsgetcoding
[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
  • 2
  • 2
4 Comments
 
LVL 47

Expert Comment

by:Wayne Taylor (webtubbs)
ID: 34178546
You can safely change Visual Studio 2010\Projects\Book1 to Visual Studio 2010\Projects\Book2. All files are contained within that folder, and use relative paths.

Wayne
0
 

Author Comment

by:Letsgetcoding
ID: 34178692
Hey,

Changing that folder was fine.
I ran into trouble changing the folder contained within Visual Studio 2010\Projects\Book2
This folder contains:
Book1 (Folder)
Book2 (Microsoft Visual Studio Solution)
Book2 (Visual Studio Solution User Options)

If I change Book1 (Folder) to Book2, I get an error opening the project.
"One or more projects in the solution were not loaded correctly."

Any ideas?

Thanks!
Jessee
0
 
LVL 47

Accepted Solution

by:
Wayne Taylor (webtubbs) earned 500 total points
ID: 34178706
Rename the folder "Book1" to "Book2". Then open up the solution file (Book2.sln) in Notepad and change "Book1" in the path to the project with "Book2".

Wayne
0
 

Author Closing Comment

by:Letsgetcoding
ID: 34179963
Perfect :)
0

Featured Post

Space-Age Communications Transitions to DevOps

ViaSat, a global provider of satellite and wireless communications, securely connects businesses, governments, and organizations to the Internet. Learn how ViaSat’s Network Solutions Engineer, drove the transition from a traditional network support to a DevOps-centric model.

Question has a verified solution.

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

In my previous article (http://www.experts-exchange.com/Programming/Languages/.NET/.NET_Framework_3.x/A_4362-Serialization-in-NET-1.html) we saw the basics of serialization and how types/objects can be serialized to Binary format. In this blog we wi…
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 …

735 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