Solved

VB2010 change project name etc

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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
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.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

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