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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T15:38:04+00:00 2026-05-23T15:38:04+00:00

What approaches have you taken to coordinating changes to version and Copyright for groups

  • 0

What approaches have you taken to coordinating changes to version and Copyright for groups of assemblies?

I have a tree of many csprojs each with its own AssemblyInfo file. As part of my build process I want to set copyright year and version. It looks like the following options be be available but file modification is the only one I’ve seen thus far:

  • Modify all files via script
  • Include resource with date (a macro, a singleton class with public static variables)
  • Override AssemblyVersion on command line ( -DAssemblyVersion=”1.0.0.1″ ?)
  • Reference Environment variable ([assembly: AssemblyFileVersion("${ENV.VERSION")])

I’m used to keeping the source tree clean of generated files in Java/C++ via command line params, defines and centralizing all version specification in a single file.

What approach to do you use to keep the versions in sync and manageable?

Thanks

Peter

  • 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-23T15:38:05+00:00Added an answer on May 23, 2026 at 3:38 pm

    In the top folder, I place a CommonAssemblyInfo.cs that contains the … common stuff, such as copyright and FileVersion. This file is just contains some default attributes and is regenerated by a script(a simple .bat file) on the build server, Hudson in my case. Remove these common attributes in each of the projects AssemblyInfo.cs.

    In each project in the solution, I add this file. but use “Add as link” – available in the drop down of the “Add” button when you add an existing file. i.e. all projects just contains a reference to the same file, so there’s only one file to update.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm interested in hearing what approaches people have taken when building a RESTful (or
I was wondering what approaches others might have for testing domain services against a
I have seen these two approaches for constant declaration which are to be used
I have seen two different approaches in saving user preferences. APPROACH 1: Serializing them
I have been using agile approaches (XP and Scrum) for my projects for several
I have read a lot of approaches regarding placement of the footer in a
I know two approaches to Exception handling, lets have a look at them. Contract
I'm trying a few different approaches to Javascript inheritance at the moment. I have
Here's the deal. We would have taken the complete static html road to solve
I have tried the usual approaches, and have read :help tex.vim (see : http://vimdoc.sourceforge.net/htmldoc/syntax.html

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.