Rename a VB.Net Project

Posted on 2014-08-15
Last Modified: 2014-08-15
I have a (2010) project that I want to use as a base for a new project. Can anyone direct me to a step-by-step procedure for copying and then renaming my old project to a new name?
I have considered just creating a new project and then coping all of the files from the old project into the new folder and adding each form and module but was wondering if there was an easier way.

Question by:charlieb01
    LVL 14

    Accepted Solution

    Open the file up in Visual Studio and change the solution name in Solution Explorer and then SAVE AS... This should rename all of the areas where it is referenced throughout the solution. Unfortunately Visual Studio's Rename and Refactor only works with C#.

    Author Comment

    Your method appears to work but it does not rename the sln filename. Is there a step I am missing?
    LVL 40

    Assisted Solution

    by:Jacques Bourgeois (James Burger)
    The .sln file is the one from which all others are opened. It's name is not important, because no other file in your project opens it, You are the only one opening it. You can thus rename it through Windows Explorer after you have renamed the project with Brad's solution. The only handicap is that If you have opened that new solution once in VS, the old name will still hang in the Recent files list, but you will see, if you try to open it from there, that Visual Studio will be very nice to you.

    Author Closing Comment

    Thank you both for your help

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Find Ransomware Secrets With All-Source Analysis

    Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

    Normally the drop down box control found in the .Net framework tools is able to select just one data and value at a time, which is displayed on the text area.   But what if you want to have multiple values to be selected in the drop down box? As …
    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…
    how to add IIS SMTP to handle application/Scanner relays into office 365.
    This video is in connection to the article "The case of a missing mobile phone (". It will help one to understand clearly the steps to track a lost android phone.

    779 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

    14 Experts available now in Live!

    Get 1:1 Help Now