• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 180
  • Last Modified:

What's the best way to save a new version of a project in VB.NET?

Hi,

So I have a project and I want to in effect 'Save As...' to MyProject1.1.

If it was a single file, I could just go 'Save As...' and rename the new one. What I've done is to copy the entire project file and rename the .vbp file name. That seems to have worked, but I'm not sure if it's a 'proper' way to do it.

So the qn is: What's the best way to save a new version of a project?

Thx!
0
Flying-Kiwi
Asked:
Flying-Kiwi
  • 2
  • 2
1 Solution
 
Bob LearnedCommented:
I just go into Windows Explorer, and copy the entire folder to a new location, and then open the project in the IDE, and rename different parts, like the solution and project in the Solution Explorer.

Bob
0
 
Flying-KiwiAuthor Commented:
EDIT: I meant to write "What I've done is to copy the entire project FOLDER and rename the .vbp file name."

Thank you Learned One. So, by 'the different parts' do you mean the Solution's name and the Project's name ONLY? i just want to be clear about what needs to be done. Thx.   :--)

0
 
Bob LearnedCommented:
I just did this yesterday:

1) Copy folder in Explorer
2) Open the .sln file in the IDE
3) Select the solution node in the Solution Explorer
4) With the Properties window visible, enter a new name in the (Name) property.
5) Select the project node in the Solution Explorer
6) Enter a new file name for the project in the Project File property.

Bob
0
 
Flying-KiwiAuthor Commented:
Thx! Why can't we just 'Save As...' as in most applications?  (@_@)    <--- idle thought
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Certified Penetration Testing

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now