473,508 Members | 2,356 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How do you handle versioning of a multi-project solution?

Am using VB.NET 2005.

I have a solution that has four projects. Two projects are standard
windows applications. One is a class library that is shared by the two
windows application projects, it is primarily used to
serialize/deserialize an XML configuration file.. The third project is
a standard Setup project that installs the two windows applications. My
question is regarding versioning of the solution.

I would like for the entire solution to be considered as a single
version. But each project's properties has it's own version, and
they are not synchronized with each other.

And when the two applications crank up and they display their version
in a splash screen they get it from an Application property which is
their own project's version. And when you look at the entry in the
Control Panel Add/Remove programs, the version displayed there is the
version of the setup project. And to make an upgraded setup do an
automatic removal of the previous version you have to increment the
Setup project's version with each new build.

To top it off, I would like to have an attribute in the first line of
the shared application's XML config file to indicate the version, so
each application can verify that the config file agrees with the
solution's version.

It's all a mess. I'm wondering how others manage versioning in a
solution that has multiple projects.

Jul 20 '06 #1
1 1637

<za***@construction-imaging.comwrote in message
news:11**********************@m79g2000cwm.googlegr oups.com...
Am using VB.NET 2005.

I have a solution that has four projects. Two projects are standard
windows applications. One is a class library that is shared by the two
windows application projects, it is primarily used to
serialize/deserialize an XML configuration file.. The third project is
a standard Setup project that installs the two windows applications. My
question is regarding versioning of the solution.

I would like for the entire solution to be considered as a single
version. But each project's properties has it's own version, and
they are not synchronized with each other.

And when the two applications crank up and they display their version
in a splash screen they get it from an Application property which is
their own project's version. And when you look at the entry in the
Control Panel Add/Remove programs, the version displayed there is the
version of the setup project. And to make an upgraded setup do an
automatic removal of the previous version you have to increment the
Setup project's version with each new build.

To top it off, I would like to have an attribute in the first line of
the shared application's XML config file to indicate the version, so
each application can verify that the config file agrees with the
solution's version.

It's all a mess. I'm wondering how others manage versioning in a
solution that has multiple projects.
We use InnoSetup (freeware) for our installations, which we believe are a
whole lot better than the MSI installer. For versioning, if you don't have
any web applications in your solution, you can use a single AssemblyInfo
file and have all projects use that AssemblyInfo (global) as well as their
own AssemblyInfo (per-project).

The version would go into the GlobalAssemblyInfo file, while the
project-specific settings would go into the AssemblyInfo file.

HTH,
Mythran

Jul 20 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1323
by: Jim Kerr | last post by:
Does makepy always respect versioning of interfaces? It appears as though makepy correctly handles versioning of objects you obtain directly, but not for objects you get via a function call. ...
0
1700
by: Erik P. Vinther | last post by:
Hi This might be slightly OT, but I couldn't find a better NG for this question The question is regarding versioning of webservices. A webservice end point URL basically consists of a base...
6
2831
by: Leandro Berti via DotNetMonster.com | last post by:
Hi All, I wrote a code to do serial communication with an equipament. When i use the code outside of threaded class it seens work properly, but when i put inside a class and execute a thread in...
2
1633
by: MeDhanush | last post by:
Hi, I was reading a doc on versioning, and came to know that versioning of assemblies are easier than ever. Can sb pl mention me, how this can be achieved using config files and how runtime...
39
7328
by: tydbowl | last post by:
I have a problem where the below code chunk causes handle leaks on some machines. The leak APPEARS to be handles to the registry key: HKCU\Software\Microsoft\Windows\CurrentVersion\Internet...
0
1077
by: Hanover | last post by:
Hi there, I have a requirement for an asp.net application. I need to be able to open a word document on the server, let the person edit it, detect when they've closed it so that the system...
3
5832
by: Basel | last post by:
Hi All I'm using SetConsoleCtrlHandler to handle Ctrl-C event. But I have a problem using it in multi-threaded applications (it doesn't invoke handler function). What is the correct way to...
1
2092
by: betbubble | last post by:
I replicate (transactional replication) my data entry database to a read-only database. Both are SQL 2000+SP4. The web server reads the read-only database. At times, there will be lots of changes...
1
2238
by: Coaster | last post by:
orig ref here http://groups.google.com/group/microsoft.public.dotnet.framework.aspnet/browse_thread/thread/ff29cc370678911d/c0db5b7e3da283b9?lnk=st&q=gac+assembly+new+version&rnum=7#c0db5b7e3da283b9...
4
2688
by: MartinRinehart | last post by:
Thinking about unclosed multi-line quotes. When you open a multi-line quote (type '"""') what does your editor do? Does it color the remainder of your text as a quote, or does it color the line...
0
7223
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7377
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7036
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5624
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4705
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3191
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3179
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
762
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
414
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.