diff --git a/.pipelines/versionAndSignCheck.ps1 b/.pipelines/versionAndSignCheck.ps1 index 89cfbeea1c..78031ac7e0 100644 --- a/.pipelines/versionAndSignCheck.ps1 +++ b/.pipelines/versionAndSignCheck.ps1 @@ -28,6 +28,8 @@ $versionExceptions = @( "ObjectModelCsProjection.dll", "RendererCsProjection.dll") -join '|'; $nullVersionExceptions = @( + "SkiaSharp.Views.WinUI.Native.dll", + "libSkiaSharp.dll", "codicon.ttf", "e_sqlite3.dll", "getfilesiginforedist.dll", diff --git a/src/common/CalculatorEngineCommon/CalculatorEngineCommon.rc b/src/common/CalculatorEngineCommon/CalculatorEngineCommon.rc new file mode 100644 index 0000000000..5a515fef17 --- /dev/null +++ b/src/common/CalculatorEngineCommon/CalculatorEngineCommon.rc @@ -0,0 +1,36 @@ +#include +#include "resource.h" +#include "../version/version.h" + +1 VERSIONINFO +FILEVERSION FILE_VERSION +PRODUCTVERSION PRODUCT_VERSION +FILEFLAGSMASK VS_FFI_FILEFLAGSMASK +#ifdef _DEBUG +FILEFLAGS VS_FF_DEBUG +#else +FILEFLAGS 0x0L +#endif +FILEOS VOS_NT_WINDOWS32 +FILETYPE VFT_DLL +FILESUBTYPE VFT2_UNKNOWN +BEGIN + BLOCK "StringFileInfo" + BEGIN + BLOCK "040904b0" // US English (0x0409), Unicode (0x04B0) charset + BEGIN + VALUE "CompanyName", COMPANY_NAME + VALUE "FileDescription", FILE_DESCRIPTION + VALUE "FileVersion", FILE_VERSION_STRING + VALUE "InternalName", INTERNAL_NAME + VALUE "LegalCopyright", COPYRIGHT_NOTE + VALUE "OriginalFilename", ORIGINAL_FILENAME + VALUE "ProductName", PRODUCT_NAME + VALUE "ProductVersion", PRODUCT_VERSION_STRING + END + END + BLOCK "VarFileInfo" + BEGIN + VALUE "Translation", 0x409, 1200 // US English (0x0409), Unicode (1200) charset + END +END diff --git a/src/common/CalculatorEngineCommon/CalculatorEngineCommon.vcxproj b/src/common/CalculatorEngineCommon/CalculatorEngineCommon.vcxproj index ddc4a970bc..43f4749892 100644 --- a/src/common/CalculatorEngineCommon/CalculatorEngineCommon.vcxproj +++ b/src/common/CalculatorEngineCommon/CalculatorEngineCommon.vcxproj @@ -98,6 +98,11 @@ true + + + {cc6e41ac-8174-4e8a-8d22-85dd7f4851df} + + @@ -105,6 +110,7 @@ Calculator.idl + @@ -128,6 +134,9 @@ + + + diff --git a/src/common/CalculatorEngineCommon/resource.h b/src/common/CalculatorEngineCommon/resource.h new file mode 100644 index 0000000000..1dfef46e9e --- /dev/null +++ b/src/common/CalculatorEngineCommon/resource.h @@ -0,0 +1,13 @@ +//{{NO_DEPENDENCIES}} +// Microsoft Visual C++ generated include file. +// Used by CalculatorEngineCommon.rc + +////////////////////////////// +// Non-localizable + +#define FILE_DESCRIPTION "CalculatorEngineCommon" +#define INTERNAL_NAME "CalculatorEngineCommon" +#define ORIGINAL_FILENAME "CalculatorEngineCommon.dll" + +// Non-localizable +//////////////////////////////