From ee9dc4984ce172697d94471a6be57d61116e34b6 Mon Sep 17 00:00:00 2001 From: Anirudh Agnihotry Date: Wed, 2 Sep 2020 08:08:16 -0700 Subject: [PATCH] fix version (#41729) --- .../src/System.Runtime.CompilerServices.Unsafe.il | 4 ++-- .../src/System.Runtime.CompilerServices.Unsafe.ilproj | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/libraries/System.Runtime.CompilerServices.Unsafe/src/System.Runtime.CompilerServices.Unsafe.il b/src/libraries/System.Runtime.CompilerServices.Unsafe/src/System.Runtime.CompilerServices.Unsafe.il index a414c1c..ded3c71 100644 --- a/src/libraries/System.Runtime.CompilerServices.Unsafe/src/System.Runtime.CompilerServices.Unsafe.il +++ b/src/libraries/System.Runtime.CompilerServices.Unsafe/src/System.Runtime.CompilerServices.Unsafe.il @@ -12,8 +12,8 @@ // --- The following custom attribute is added automatically, do not uncomment ------- // .custom instance void [CORE_ASSEMBLY]System.Diagnostics.DebuggableAttribute::.ctor(valuetype [CORE_ASSEMBLY]System.Diagnostics.DebuggableAttribute/DebuggingModes) = ( 01 00 02 00 00 00 00 00 ) - .custom instance void [CORE_ASSEMBLY]System.Reflection.AssemblyFileVersionAttribute::.ctor(string) = ( 01 00 07 35 2E 30 2E 30 2E 30 00 00 ) // ...5.0.0.0.. - .custom instance void [CORE_ASSEMBLY]System.Reflection.AssemblyInformationalVersionAttribute::.ctor(string) = ( 01 00 07 35 2E 30 2E 30 2E 30 00 00 ) // ...5.0.0.0.. + .custom instance void [CORE_ASSEMBLY]System.Reflection.AssemblyFileVersionAttribute::.ctor(string) = FILE_VERSION + .custom instance void [CORE_ASSEMBLY]System.Reflection.AssemblyInformationalVersionAttribute::.ctor(string) = INFORMATIONAL_VERSION .custom instance void [CORE_ASSEMBLY]System.Reflection.AssemblyTitleAttribute::.ctor(string) = ( 01 00 26 53 79 73 74 65 6D 2E 52 75 6E 74 69 6D // ..&System.Runtim 65 2E 43 6F 6D 70 69 6C 65 72 53 65 72 76 69 63 // e.CompilerServic 65 73 2E 55 6E 73 61 66 65 00 00 ) // es.Unsafe.. diff --git a/src/libraries/System.Runtime.CompilerServices.Unsafe/src/System.Runtime.CompilerServices.Unsafe.ilproj b/src/libraries/System.Runtime.CompilerServices.Unsafe/src/System.Runtime.CompilerServices.Unsafe.ilproj index de3e21d..07e9ef8 100644 --- a/src/libraries/System.Runtime.CompilerServices.Unsafe/src/System.Runtime.CompilerServices.Unsafe.ilproj +++ b/src/libraries/System.Runtime.CompilerServices.Unsafe/src/System.Runtime.CompilerServices.Unsafe.ilproj @@ -28,7 +28,7 @@ @@ -51,6 +51,8 @@ #define CORE_ASSEMBLY "$(CoreAssembly)" #define ASSEMBLY_VERSION "$(_AssemblyVersion)" #define CORE_ASSEMBLY_VERSION "$(_CoreAssemblyVersion)" +#define FILE_VERSION "{string('$(FileVersion)')}" +#define INFORMATIONAL_VERSION "{string('$(InformationalVersion)')}" $(ExtraMacros) // Metadata version: v4.0.30319 .assembly extern CORE_ASSEMBLY -- 2.7.4