Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 0B249200B80 for ; Wed, 14 Sep 2016 17:36:31 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 09C07160AB4; Wed, 14 Sep 2016 15:36:31 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 4EF18160AB3 for ; Wed, 14 Sep 2016 17:36:30 +0200 (CEST) Received: (qmail 41406 invoked by uid 500); 14 Sep 2016 15:36:29 -0000 Mailing-List: contact log4net-dev-help@logging.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: "Log4NET Dev" List-Id: Delivered-To: mailing list log4net-dev@logging.apache.org Received: (qmail 41396 invoked by uid 99); 14 Sep 2016 15:36:29 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Sep 2016 15:36:29 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 02C7FC8545 for ; Wed, 14 Sep 2016 15:36:29 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.576 X-Spam-Level: * X-Spam-Status: No, score=1.576 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=2.397, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id 0mpOAm-qE7LE for ; Wed, 14 Sep 2016 15:36:27 +0000 (UTC) Received: from mail-wm0-f48.google.com (mail-wm0-f48.google.com [74.125.82.48]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 6C27660CE1 for ; Wed, 14 Sep 2016 15:36:26 +0000 (UTC) Received: by mail-wm0-f48.google.com with SMTP id 1so38704506wmz.1 for ; Wed, 14 Sep 2016 08:36:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding; bh=1D++7neELMR7kPh8RTpqhQpLOohX2MF5boNy2u/gm+w=; b=ADPiVUtnsJzgeqCNdN7ChEWLAPhAKmYy+2uitXg3TFWUNVadB9nFVyNgHYqTg5S6mr AeNQbhmG15I4bUFiitul7rTtErnifoK9L24GltA9f/aC1tvML5SR8ekxdwrIikdy0Z+2 U1ZufnKBfXMWHn5d2yJLDi0vNfmg/LsM655wouWg0u/XnQgpSXfSFmeFh5uzuCH9ipKg nbp2QHU5HNZRFEQ+AMvcQABasmXLYDaO5LOLPj4mHQBcE6v0nqAe6UJG6gucNRvTfygC 2LEtEKQIJZP7YKphyGZxdfqEcS259gDSHWgo7zE6YNIIPZBOEjMjXFzHKya8AGUc3LHh VIRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=1D++7neELMR7kPh8RTpqhQpLOohX2MF5boNy2u/gm+w=; b=ROLmVju81WS5yE8IwFe6kzSlVD1RN3tARjlvO6kUTe29xLf4ImlKvstqGF53Ul6agz wNJl9o6J/vesousnTEIHLEb6YoF+LcGrJE/zBl5dOzLzZfqdaBvFQas/I6D4JRFQfciL W0YOxhZO3KujcGBLhzLnUKpEuCy5hZaeogO6DMMkHFB3h1GYx3NFyYdl4KnXWs7zZjSO Ez8+0ut26b5iyZEzhWuBdPPFPlI4JapZ4ySGZVjcjvhll0+aN14rv42AISU1JDhvzETI v+1Z/3pYocKWQboifc7FNvvU5r9nF2Iu/pk11ZqP8/46SwdJj6P+1FIKBn/NK9+hbL6M fiXg== X-Gm-Message-State: AE9vXwOGsUlWp8SVp4BFWqavkbdJJ3fNUkJsstE500q9Ag1saM8hlzY6XZ4Ihqt0zHBxqw== X-Received: by 10.28.132.139 with SMTP id g133mr10837438wmd.108.1473867385771; Wed, 14 Sep 2016 08:36:25 -0700 (PDT) Received: from [192.168.0.192] (etrn.topcontrol.it. [217.199.15.225]) by smtp.gmail.com with ESMTPSA id w207sm11327976wmd.8.2016.09.14.08.36.24 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 14 Sep 2016 08:36:25 -0700 (PDT) Subject: Re: Informational Version (was Re: Things to do before the next release) To: log4net-dev@logging.apache.org References: <87y42u8rdg.fsf@v45346.1blu.de> <87poo68px2.fsf@v45346.1blu.de> From: Dominik Psenner Message-ID: Date: Wed, 14 Sep 2016 17:36:25 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <87poo68px2.fsf@v45346.1blu.de> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit archived-at: Wed, 14 Sep 2016 15:36:31 -0000 That does not work and you must set a second AssemblyInformationalVersionAttribute where only a string can be specified. It is something that can live along with the AssemblyVersionAttribute and specify additional information about the assembly. I generally use this approach to include git/hg changeset hashes of a build or more verbose information that usually doesnt fit into the version numbering scheme. https://msdn.microsoft.com/en-us/library/system.reflection.assemblyinformationalversionattribute(v=vs.110).aspx On 2016-09-14 17:24, Stefan Bodewig wrote: > On 2016-09-14, Stefan Bodewig wrote: > >> * decide on the version. I propose to use 2.0.6.0 for the next release >> for all artifacts and try getting the "informational version" right - >> this is Dominik's second proposal in https://lists.apache.org/thread.html/42a97e0190fde4d5c54700965624c35158569b85cba48facea5ed70f@%3Clog4net-dev.logging.apache.org%3E > Unfortunately I Can't do this via assembly attributes: > > [csc] error CS1607: Warning as Error: Assembly generation -- The version '1.2.15.0-.NET 3.5' specified for the 'product version' is not in the normal 'major.minor.build.revision' format > > unless we suppress the warning, that is. > > Stefan