How to: Copy a project to create a new project

G

Guest

I'm new to .NET development, although I have worked with VS2005 and VC++ for
a while.

A frequent task for me is to create a new project for a new version of my
program, without destroying the previous version. In VC++ I could use Windows
Explorer and copy the contents of the previous project folder to a new
project folder, and rename the project, start VS2005, and then add that new
project to a solution without much trouble.

That doesn't seem to work so well with C# .NET development.

Could you suggest strategies for copying a C# .NET project for creating a
new project?

Thanks,
Jim
 
R

RobinS

Why doesn't it work? You should be able to copy the entire solution to
another folder, open it, and make whatever changes you want to.

Robin S.
 
P

PS

Jim Walsh said:
I'm new to .NET development, although I have worked with VS2005 and VC++
for
a while.

A frequent task for me is to create a new project for a new version of my
program, without destroying the previous version. In VC++ I could use
Windows
Explorer and copy the contents of the previous project folder to a new
project folder, and rename the project, start VS2005, and then add that
new
project to a solution without much trouble.

That doesn't seem to work so well with C# .NET development.

Could you suggest strategies for copying a C# .NET project for creating a
new project?

The steps I have always done after copying the project contents were

Rename the project once it is open in VS
In Project Properties /Application rename output, namespace etc..
Select the namespace in any namespace declaration and do Rename refactoring

PS
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top