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 510939
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T07:09:54+00:00 2026-05-13T07:09:54+00:00

At my job, the assembly version of each project in the source control is

  • 0

At my job, the assembly version of each project in the source control is kept to 1.0.0.0. When the build machine make a new daily build, it has a task to update the assembly version but does not check in the updated assemblyinfo.cs. So on our dev machines, the assembly version of the dlls we are compiling are always set to 1.0.0.0.

Is it best practice to keep the assembly version up to date in the source control or are we doing the right thing already?

What are the pros and cons of each possibilities?

Thanks


Related or Duplicate:
Should AssemblyInfo.cs be placed in version control?

  • 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. Editorial Team
    Editorial Team
    2026-05-13T07:09:55+00:00Added an answer on May 13, 2026 at 7:09 am

    Con:

    • you cannot debug or test any code that depends on the correct assembly version (if you have such code)

    By the way, there is an easier way to make sure all of your assembly versions are in sync: define a public const string “VersionMask” in a public class VersionInfo in a top level assembly that is referenced by all other assemblies and put

    [assembly: AssemblyVersion(VersionInfo.VersionMask)]
    

    in every AssemblyInfo.cs file (provided you ar using C#), for VB.NET it is

    <Assembly: AssemblyVersion(VersionInfo.VersionMask)> 
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to execute a Quartz.net job from a separate assembly. The class inherits
Your job is to design a Project Plan class library which supports the tracking
At my new job I am doing rails development and I am on Ubuntu
In my new job more people are using Python than Perl, and I have
My VS2010 solution has a test project in it. The unit tests themselves reference
I am working on a project that is responsible for creating a job which
Ok, here we go.. I have a control, which in the assembly.. lets call
I foolishly decided to try something new on a Friday job! So I have
My Job model has job_date field that is defined in the migration file like
My job consists almost entirely of adding new functionality to a legacy system built

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.