The AssemblyVersion in AssemblyInfo.vb is for a Project, while the Version
property is for the Setup Project. You can keep them synchronized if you
want, but you may want to increment them separately. For instance, if you
did not change your Project at all, but you did change some of the files
that were included with your Setup Project or changed the directory in which
it installs, then you may want to increment the Version of the Setup Project
while leaving the AssemblyVersion of your project alone. Also keep in mind
that there may be several projects in a solution, each with their own
AssemblyVersion. These version numbers may all be different.
From what I understand about the Product and Package Codes, you should
increment them as well to insure that the older version of your app is
removed and replaced with the newer version.
Brian Davis
www.knowdotnet.com
"N4709L" <> wrote in message
news:ZQLTb.394$ y.com...
> Thanks, Brian. That works wonderfully. And now I have another excellent
Web
> site to go to for assistance! knowdotnet.com!
>
> Each time we increment the Version property in the Setup project, should
we
> answer Yes when it asks if we want to assign a new Product Code and
Package
> Code? It is the same product, so one would think the answer is No, but the
> documentation isn't so clear on this point. It is also a new "package" but
> only a new version of the package for this product. Thus, I'd be inclined
to
> answer No, but the default and recommendation is Yes!
>
> There is an AssemblyVersion in AssemblyInfo.vb. Should we keep the two
> Version numbers in sync? In other words, if the Version property of Setup
is
> 8.1.4 Should we use:
> <Assembly: AssemblyVersion("8.1.4.*")>
>
> ?
>
> Thanks, -Ron
>