Solved

VB2010 change project name etc

Posted on 2010-11-19
4
787 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)
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
Perfect :)
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

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…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

744 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now