Results 1 to 2 of 2

Thread: ClickOnce publish version and assembly version?

  1. #1

    Thread Starter
    Member
    Join Date
    Dec 2005
    Posts
    45

    ClickOnce publish version and assembly version?

    Hello!

    I'm using C# 2008, but I suppose that this applies to all .NET languages...

    My question is simple: why the ClickOne publish version and the assembly version are different? I can set the first in the project properties and the second in the AssemblyInfo.cs file. I don't understand the logic of this differentiation. It's possible that when one is set the second is updated automatically so they are both the same?

    Thanks

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: ClickOnce publish version and assembly version?

    ClickOnce installers don't necessarily just deploy a single assembly. They can deploy multiple assemblies and other files too. It's quite possible to change your installer, thereby requiring a change to the installer version, without changing anything about any assemblies that may be deployed by it. Each assembly is just one part of the deployment package.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width