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

VB2010 change project name etc

Posted on 2010-11-19
4
790 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
  • 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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone 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

Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

792 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