How to copy current project & assign New Name ?

vmars316 621 Reputation points
2020-08-28T17:03:25.297+00:00

Hello & Thanks ;

I have a current project named GetElementsByTagname
and from it I would like to make a new project named
GetElementsByTagname-Copy-01 .

I want to try different versions of same code .

Thanks for your Help...

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,828 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Daniel Zhang-MSFT 9,611 Reputation points
    2020-08-31T05:33:28.367+00:00

    Hi Vernon Marsden,
    You can follow the steps below to copy current project and assign new name.
    1.Right click on the solution and "Open Folder in File Explorer"
    2.Copy the project folder
    3.Rename the new Project folder
    4.Open the new project folder and rename the .csproj file
    5.Right click on the solution and "Add" "Existing Project" to the solution
    6.Open the "Properties" for the new project
    7.Under "Application", change the assembly name and default namespace
    More details you can refer to these threads.
    Copy And Rename VS2015 VB.Net Project
    Visual Studio Copy Project
    Best Regards,
    Daniel Zhang

    5 people found this answer helpful.