Solved

VB2010 change project name etc

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

Containers & Docker to Create a Powerful Team

Containers are an incredibly powerful technology that can provide you and/or your engineering team with huge productivity gains. Using containers, you can deploy, back up, replicate, and move apps and their dependencies quickly and easily.

Question has a verified solution.

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

Welcome my friends to the second instalment and follow-up to our Minify and Concatenate Your Scripts and Stylesheets (http://www.experts-exchange.com/Programming/Languages/.NET/ASP.NET/A_4334-Minify-and-Concatenate-Your-Scripts-and-Stylesheets.html)…
This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

628 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