[ https://issues.apache.org/jira/browse/LOG4NET-508?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Manuel Pallier updated LOG4NET-508: ----------------------------------- Comment: was deleted (was: Sehr geehrter Absender! Ich bin voraussichtlich am 29. März wieder im Büro und werde Ihre Anfrage dann beantworten. Mit freundlichen Grüßen Ing. Manuel Pallier Competence Center --------------------------------------------------- E: manuel.pall...@beko.at<mailto:manuel.pall...@beko.at> T: + 43 / 316 / 71 65 69 - 50 F: + 43 / 316 / 71 65 69 - 22 --------------------------------------------------- BEKO Engineering & Informatik GmbH & Co KG Triester Straße 367 8055 Graz www.beko.at<http://www.beko.at/> Angaben gemäß UGB: Firmenname: BEKO Engineering & Informatik GmbH & Co KG Firmensitz: Nöhagen 57, Burg Hartenstein, 3521 Nöhagen Rechtsform: Kommanditgesellschaft Firmenbuchnummer: 435467v Firmenbuchgericht: Landesgericht Krems an der Donau Komplementärin: BEKO Engineering & Informatik GmbH Firmensitz: Nöhagen 57, Burg Hartenstein, 3521 Nöhagen Rechtsform: Gesellschaft mit beschränkter Haftung Firmenbuchnummer: 435236d Firmenbuchgericht: Landesgericht Krems an der Donau ) > NAnt release build is not optimized > ----------------------------------- > > Key: LOG4NET-508 > URL: https://issues.apache.org/jira/browse/LOG4NET-508 > Project: Log4net > Issue Type: Bug > Components: Builds > Affects Versions: 1.2.15 > Environment: Windows 10 1511 x64 > NAnt 0.92 > Visual Studio 2015 Update 1 > Reporter: Manuel Pallier > Priority: Minor > Labels: build, nant > > When looking through the log4net assembly with the Red Gate .NET Reflector I > noticed that the downloaded release assembly contains the > 'DisableOptimizations' flag in the Debuggable assembly attribute. Further > analysis showed the following things: > 1. Dowloaded binary in log4net-1.2.15-bin-newkey.zip (net\4.5\release > subfolder): > a. Size: 298 KB > b. 'DisableOptimizations' and 'IgnoreSymbolStoreSequencePoints' flags in > assembly attribute. > c. IL Code is not optimized (nop statements are present) > 2. Own build using NAnt 0.92 and build.cmd, file output from > bin\net\4.5\debug: > a. Size: 298 KB > b. All flags in the DebuggableAttribute are as expected for a debug build. > c. IL Code is not optimized (nop statements are present) > 3. Own build using NAnt 0.92 and build.cmd, file output from > bin\net\4.5\release: > a. Exactly the same as the downloaded binary. > 4. Own build using Visual Studio 2015 Update 1 in Debug configuration: > a. Size: 288 KB > b. All flags in the DebuggableAttribute are as expected for a debug build. > c. IL Code is not optimized (nop statements are present) > 5. Own build using Visual Studio 2015 Update 1 in Release configuration: > a. Size: 256 KB > b. All flags in the DebuggableAttribute are as expected for a release build > (only 'IgnoreSymbolStoreSequencePoints'). > c. IL Code is optimized > In my opinion 1b and 1c are bugs (and of course 3, since it's the same > build). An optimized (release build) assembly should not have a > 'DisableOptimizations' flag and should have optimized code (no nop > statements). -- This message was sent by Atlassian JIRA (v6.3.4#6332)