Creating new project versions

  • Thread starter Thread starter John Dann
  • Start date Start date
J

John Dann

Is there any recommended way of creating a new version of an existing
project inVB.Net? Or maybe an add-in that facilitates this process?

Like most people I guess, I tend to develop projects in stages. When
I've got the code working for a certain notional version say v0.4, I
want to freeze that and keep the existing code intact before starting
work on the next phase that will add further functionality and result
in eg v0.5. Or maybe I'm struggling with a problem and want to try a
new approach to an issue, but want to keep the existing code as is.

At present I just create a new project and 'add existing items' to
that. This is maybe OK for simple projects but often I seem to come
across the problem in using an external control or dll that the new
project has partially forgotten where to find the external control.
Sometime I try to add it back in with the same name as was previosuly
assigned but the new project won't let me because it already has some
code using that name.

Am I missing some obvious way of creating new versions? Maybe I just
need to use the file system simply to copy all the files in the old
folder across to a new folder. Any advice please?

JGD
 
John Dann said:
Is there any recommended way of creating a new version of an existing
project inVB.Net? Or maybe an add-in that facilitates this process?
[...]
Am I missing some obvious way of creating new versions? Maybe I just
need to use the file system simply to copy all the files in the old
folder across to a new folder. Any advice please?

The easiest way is to create a backup (copy) of the solution's folder in the
explorer.
 
Hi,

You can manually set the version number in the assemblyinfo.vb
file.
<Assembly: AssemblyVersion("0.4.0")>

Ken
----------------
Is there any recommended way of creating a new version of an existing
project inVB.Net? Or maybe an add-in that facilitates this process?

Like most people I guess, I tend to develop projects in stages. When
I've got the code working for a certain notional version say v0.4, I
want to freeze that and keep the existing code intact before starting
work on the next phase that will add further functionality and result
in eg v0.5. Or maybe I'm struggling with a problem and want to try a
new approach to an issue, but want to keep the existing code as is.

At present I just create a new project and 'add existing items' to
that. This is maybe OK for simple projects but often I seem to come
across the problem in using an external control or dll that the new
project has partially forgotten where to find the external control.
Sometime I try to add it back in with the same name as was previosuly
assigned but the new project won't let me because it already has some
code using that name.

Am I missing some obvious way of creating new versions? Maybe I just
need to use the file system simply to copy all the files in the old
folder across to a new folder. Any advice please?

JGD
 
John Dann said:
Is there any recommended way of creating a new version of an existing
project inVB.Net? Or maybe an add-in that facilitates this process?

Like most people I guess, I tend to develop projects in stages. When
I've got the code working for a certain notional version say v0.4, I
want to freeze that and keep the existing code intact before starting
work on the next phase that will add further functionality and result
in eg v0.5. Or maybe I'm struggling with a problem and want to try a
new approach to an issue, but want to keep the existing code as is.

With disk space as cheap as it is, I've normally just zipped up the
whole project directory tree and stored the different versions in a
separate folder. I have rarely had to restore them, but on those
occasions I can simply delete everything and let the zipped package
build the earlier image just like it was.

LFS
 

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

Back
Top