Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 45109
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T15:45:26+00:00 2026-05-10T15:45:26+00:00

There are three assembly version attributes. What are differences? Is it ok if I

  • 0

There are three assembly version attributes. What are differences? Is it ok if I use AssemblyVersion and ignore the rest?


MSDN says:

  • AssemblyVersion:

    Specifies the version of the assembly being attributed.

  • AssemblyFileVersion:

    Instructs a compiler to use a specific version number for the Win32 file version resource. The Win32 file version is not required to be the same as the assembly’s version number.

  • AssemblyInformationalVersion:

    Defines additional version information for an assembly manifest.


This is a follow-up to What are the best practices for using Assembly Attributes?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T15:45:27+00:00Added an answer on May 10, 2026 at 3:45 pm

    AssemblyVersion

    Where other assemblies that reference your assembly will look. If this number changes, other assemblies must update their references to your assembly! Only update this version if it breaks backward compatibility. The AssemblyVersion is required.

    I use the format: major.minor (and major for very stable codebases). This would result in:

    [assembly: AssemblyVersion("1.3")] 

    If you’re following SemVer strictly then this means you only update when the major changes, so 1.0, 2.0, 3.0, etc.

    AssemblyFileVersion

    Used for deployment (like setup programs). You can increase this number for every deployment. Use it to mark assemblies that have the same AssemblyVersion but are generated from different builds and/or code.

    In Windows, it can be viewed in the file properties.

    The AssemblyFileVersion is optional. If not given, the AssemblyVersion is used.

    I use the format: major.minor.patch.build, where I follow SemVer for the first three parts and use the buildnumber of the buildserver for the last part (0 for local build). This would result in:

    [assembly: AssemblyFileVersion("1.3.2.42")] 

    Be aware that System.Version names these parts as major.minor.build.revision!

    AssemblyInformationalVersion

    The Product version of the assembly. This is the version you would use when talking to customers or for display on your website. This version can be a string, like ‘1.0 Release Candidate‘.

    The AssemblyInformationalVersion is optional. If not given, the AssemblyFileVersion is used.

    I use the format: major.minor[.patch] [revision as string]. This would result in:

    [assembly: AssemblyInformationalVersion("1.3 RC1")] 
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 184k
  • Answers 184k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Fixed by putting sqlite3.dll in PATH. The problem actually was,… May 12, 2026 at 4:52 pm
  • Editorial Team
    Editorial Team added an answer You can still get the HttpContext and then use HttpContext.Current.Request.Url… May 12, 2026 at 4:52 pm
  • Editorial Team
    Editorial Team added an answer If you can't wait for Java 7 and the WatchService… May 12, 2026 at 4:52 pm

Related Questions

Is there any way to extend the information in the Windows File Version dialog.
In .NET there are two version numbers available when building a project, File Version
In AssemblyInfo there are two assembly versions: AssemblyVersion : Specify the version of the
I have created a CustomAction feature to add a button to the Actions menu

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.